use reportError/reportWarning.  add warnings for var collisions after hoisting
fix undeclared identifier
n.source_path.value, not n.source_path