Updates:
Cc: farca
...@chromium.org
Comment #1 on issue 2322 by jkumme...@chromium.org: Crash in "let" scope
resolution
http://code.google.com/p/v8/issues/detail?id=2322
Here's another one. If it turns out to be unrelated, feel free to split it
out into a separate issue.
Test case:
-----
"use strict";
let s = "outer_s"; // Removing this line makes it pass
for (let p in {a : 1}) {} // Removing this line makes it pass
function burn(x) {
if ({} instanceof function() { p = true; }) {} // Accessing "p" here
crashes.
}
burn();
-----
Failure:
#
# Fatal error in ../src/scopes.cc, line 412
# CHECK(scope_info_->StackSlotIndex(*name) < 0) failed
#