Merge: Kill oldstyle attributes
[nit.git] / src / astvalidation.nit
index 578f931..b78632b 100644 (file)
@@ -51,7 +51,7 @@ redef class ANode
                end
                v.seen.add(self)
 
-               if _location == null then
+               if not isset _location then
                        #debug "LOCATION: unlocated node {v.path.join(", ")}"
                        _location = self.parent.location
                end