From d60a2b4ebb4dc35baeaa0bf22679e3ed63ace711 Mon Sep 17 00:00:00 2001 From: Grant Murphy Date: Wed, 2 Nov 2016 17:46:59 -0700 Subject: [PATCH] Confirmed correct behavior for SQL tests Closes #64 --- rules/sql.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/rules/sql.go b/rules/sql.go index aedd868..18483d6 100644 --- a/rules/sql.go +++ b/rules/sql.go @@ -33,8 +33,6 @@ type SqlStrConcat struct { // see if we can figure out what it is func (s *SqlStrConcat) checkObject(n *ast.Ident) bool { if n.Obj != nil { - // TODO(gm): Revisit logic used here. - //return (n.Obj.Kind != ast.Var || n.Obj.Kind != ast.Fun) return n.Obj.Kind != ast.Var && n.Obj.Kind != ast.Fun } return false