Open jogibear9988 opened 3 years ago
Hi @jogibear9988, thanks for the report and the fix! For our future reference, this likely needs a reference to the specification, as well as some tests.
there are already tests for "import(xxx)"
my fix has one problem:
import('a','b') is no error (but it should be). but I don't know how this should be fixed atm. I'm not deep enough into esprima
the import('a', 'b') is now also fixed that it would fail.
I've done a fix for this in esprima.net https://github.com/sebastienros/esprima-dotnet/pull/154/commits/272dd32541fb8202e76f9157cbf741bb138921b0