Skip to content

Commit

Permalink
Confirmed correct behavior for SQL tests
Browse files Browse the repository at this point in the history
Closes #64
  • Loading branch information
gcmurphy committed Nov 3, 2016
1 parent 853b097 commit d60a2b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rules/sql.go
Expand Up @@ -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
Expand Down

0 comments on commit d60a2b4

Please sign in to comment.