Open
Bug 1169741
Opened 9 years ago
Updated 2 years ago
Come up with a more fleshed out plan for lexically scoped this
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: efaust, Unassigned)
References
Details
The current, very hazy plan is: - reimplement 'this'* - as a binding with aliasing and TDZ support - change JSOP_SETTHIS to JSOP_INIT(ALIASED)LEXICAL or something very similar - test: var g; class D extends B { constructor() { g = x => super(x); } } try { new D } catch (x) {} g(0) // should "work", setting 'this', the first call only - change computeThis() to be more dynamic (in eval and arrow-function frames) - remove JSOP_THIS This is not a fully flushed out solution, but it's a start.
Reporter | ||
Comment 1•9 years ago
|
||
h/t sfink
Summary: Come up with a more flushed out plan for lexically scoped this → Come up with a more fleshed out plan for lexically scoped this
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•