Closed Brayan-724 closed 1 month ago
Thanks for review my contribution, your feedback and suggestions are so clear. I'm working on.
All is working, just
import
and went to the statement version rather than looking at the token after and realising it was a import.meta
. Fixed that in the parser logic 🎉 Ignoring the fuzzing issue which is from separate I was working on. Everything is good to go. Thanks for the change!
This Fixes #140.
In this pr is implemented the expression
import.meta
in parser and checker. Also fix some parsing errors related to dynamic import.Primary features
import.meta
is setted to typeImportMeta
.import.meta.env
is setted to typeImportEnv
.Secondary fix
Before, dynamic import was searching OpenParentheses instead of CloseParentheses.
Before, dynamic import search for string literals, but do nothing in other cases. After, dynamic import throws error if encounter another thing