Status: Assigned
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-Medium Harmony

New issue 3623 by [email protected]: Parser asserts when mixing strict mode with sloppy mode files, in combination with harmony scoping
https://code.google.com/p/v8/issues/detail?id=3623

$ cat test.js
"use strict";
let abc = 42;
function f() { }

$ cat test2.js
function g() { }
g();

$ out/ia32.debug/d8 test.js test2.js --harmony-scoping


#
# Fatal error in ../src/parser.cc, line 1000
# CHECK(scope->strict_mode() == SLOPPY || info()->strict_mode() == STRICT) failed
#

==== C stack trace ===============================

 1: V8_Fatal
 2: v8::internal::Parser::ParseLazy(v8::internal::Utf16CharacterStream*)
 3: v8::internal::Parser::ParseLazy()
 4: v8::internal::Parser::Parse()
 5: v8::internal::Parser::Parse(v8::internal::CompilationInfo*, bool)
 6: ??
7: v8::internal::Compiler::GetLazyCode(v8::internal::Handle<v8::internal::JSFunction>)
 8: ??
9: v8::internal::Runtime_CompileLazy(int, v8::internal::Object**, v8::internal::Isolate*)
10: ??
11: ??
12: ??
13: ??
14: ??
15: ??
16: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, bool)
17: v8::Script::Run()
18: v8::Shell::ExecuteString(v8::Isolate*, v8::Handle<v8::String>, v8::Handle<v8::Value>, bool, bool)
19: v8::SourceGroup::Execute(v8::Isolate*)
20: v8::Shell::RunMain(v8::Isolate*, int, char**)
21: v8::Shell::Main(int, char**)
22: main
23: __libc_start_main
Illegal instruction (core dumped)



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to