https://codereview.chromium.org/1040703003/diff/20001/test/mjsunit/regress/regress-455207.js
File test/mjsunit/regress/regress-455207.js (right):
https://codereview.chromium.org/1040703003/diff/20001/test/mjsunit/regress/regress-455207.js#newcode12
test/mjsunit/regress/regress-455207.js:12: assertThrows(function() {
eval(s); });
Also add a test for non-legacy const or let:
function f() {
'use strict';
function g() { return x; }
assertThrows(g);
let x = 1;
}
f();
https://codereview.chromium.org/1040703003/
--
--
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.