fastn-old
fastn-old copied to clipboard
wrong line number while interpreting the document
Wrong line number is coming in error because we are pushing auto imports in the virtual document before parsing it.
Solution: We need auto-import in the document aliases, so while parsing the document we can push auto-imports in document aliases from package aliases.
Just a thought, is it possible to attach auto-imports at the end of the document instead at the beginning since all imports are processed after traversing the entire document once. And in this way the original document wont get shifted downwards when we attach the autoimports at the beginning.