Closed
Bug 1552875
Opened 5 years ago
Closed 5 years ago
Field initialized to unnamed function should name the function
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: khyperia, Assigned: khyperia)
References
Details
Attachments
(1 file)
class C {
x = function(){}
}
assertEq(new C().x.name, "x");
Updated•5 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by ahauck@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee890b30dbe3 Set anonymous function name in field initializer. r=jorendorff
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Updated•5 years ago
|
Assignee: nobody → khyperia
You need to log in
before you can comment on or make changes to this bug.
Description
•