On Wed, Jul 29, 2020 at 10:24 AM Hans Maier <tbaess...@gmail.com> wrote: > > Hi, > > im upgrading from 8.0.426.26 to 8.4.371.22. > > I've a small test case where I evalute (using v8::Module::Evaluate) a > ES6-Module with the following content: > ---- > hello(); > ---- > > In 8.0.x I get an exception: > HelloWorld1.js:1: <no exeception message> > hello(); > ^ > ReferenceError: hello is not defined > at HelloWorld1.js:1:1 > > In 8.4.x there is no exception (it succeddes). > > It this expected? > > Thanks.
It depends. What does module->GetStatus() return before and after and what does module->Evaluate() itself return? Do you set the --harmony_top_level_await flag? -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHQurc_y2jimnVvBzJpDG%3DjGG851qWP9j84ND_bTcu_gYBEwxw%40mail.gmail.com.