Confirmed correct behavior for SQL tests

Closes #64
This commit is contained in:
Grant Murphy 2016-11-02 17:46:59 -07:00
parent 853b097922
commit d60a2b4ebb

View file

@ -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