# Check the consitency of AST
module astvalidation
-private import typing
intrude import parser
import astbuilder
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