Stop using Location.none
This is the source of strange error location "", Line 1
. All the AST node, even if they are generated, must have valid locations.
Generated AST nodes can have ghost locs instead of Location.none
.
This is the source of strange error location "", Line 1
. All the AST node, even if they are generated, must have valid locations.
Generated AST nodes can have ghost locs instead of Location.none
.