Closed
Bug 424934
Opened 16 years ago
Closed 15 years ago
Settings require fields to be defined lexically before constructor
Categories
(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: lhansen, Assigned: lhansen)
Details
This crashes the compiler with a SyntaxError: class C { function C(p) : x=p {} var x; } The reason is that code that processes the constructor requires the x property to be defined lexically before C. This is wrong; the constructor can't be processed until the entire class body has been seen.
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → lhansen
Status: ASSIGNED → NEW
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•16 years ago
|
||
Presumably the fix for bug 432185 will fix this problem too.
Assignee | ||
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•