Currently if there are errors in imports - mode the program just emits the original source unchanged.
My best idea for an alternative right now is something like a --error-comments flag that will write the errors into comments at the top of the file. It would be great to put them inside the module declaration or something but if there's an error we haven't parsed successfully... so ...
Currently if there are errors in
imports -mode the program just emits the original source unchanged.My best idea for an alternative right now is something like a
--error-commentsflag that will write the errors into comments at the top of the file. It would be great to put them inside themoduledeclaration or something but if there's an error we haven't parsed successfully... so ...