Remove remaining usage of old style attributes declarations `var _foo`.
Also remove the annotation `old_style_init` in the parser.
Pull-Request: #712
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
# 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