Throw a SyntaxError instead of a TypeError, which matches the error thrown for other non-existent imports (quick test: await import('data:text/javascript,import {a} from "data:text/javascript,export let b";'))
Also throw for static module imports, during .Link()
Reject the promise in ContinueDynamicImport instead of returning a throw completion, since that AO must return ~unused~.
Follow up to https://github.com/tc39/proposal-import-reflection/pull/27
SyntaxError
instead of aTypeError
, which matches the error thrown for other non-existent imports (quick test:await import('data:text/javascript,import {a} from "data:text/javascript,export let b";')
)module
imports, during.Link()
ContinueDynamicImport
instead of returning a throw completion, since that AO must return~unused~
.