archives

« Bugzilla Issues Index

#1790 — 13, 10.5.3: Assertion for top-level lexical declaration "arguments" in functions


"arguments" as a lexical declaration is not handled in 10.5.3, but seems to be allowed (bug 1729).

This test case triggers the assertion in 10.2.1.1.3 when executing 10.5.3 step 16.b.i.1 .
---
function f() {
const arguments = 1;
}
f()
---


it's now handled by use of BindingIdentifier in all declarations.

fixed in rev23 editor's draft


fixed in rev23 draft