archives

« Bugzilla Issues Index

#4506 — 18.2.1.2 EvalDeclarationInstantiation: Use TypeError instead of SyntaxError in steps 8 and 10


18.2.1.2 Runtime Semantics: EvalDeclarationInstantiation( body, varEnv, lexEnv, strict)

Steps 8.a.iv.1.c and 10.a.i.a.iii, change SyntaxError to TypeError for ES5 compatibility and to be consistent with 15.1.8 GlobalDeclarationInstantiation


Fixed in ES2016 Draft (2be6968).