Hi Ben, the Status before evaluate is "kInstantiated" and after "kErrored", "--harmony_top_level_await" is not used.
I didn't check for the kErrored before, so I will just do that to get the old behaviour. Thanks for the hint! Am Mittwoch, 29. Juli 2020 12:41:06 UTC+2 schrieb Ben Noordhuis: > > On Wed, Jul 29, 2020 at 10:24 AM Hans Maier <tbae...@gmail.com > <javascript:>> 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/47d92380-fca6-4169-b00b-a4aba677a423o%40googlegroups.com.