Looks like they are just doing that as a simple way to resolve the module source for testing. You are free to interpret the specifier after all.
ScriptCompiler::Source source(specifier, origin); On Thursday, January 3, 2019 at 11:03:15 AM UTC-8, Jane Chen wrote: > > Referring to test-modules.cc in v8 6.7, is the following part of the > module standard? > > import {a, b} from 'export var a = 1; export let b = 2'; > > If so, how do I differentiate a module definition from a module name/path? > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.