Field key computation order is incorrect

RESOLVED FIXED in Firefox 69

Status

()

defect
P1
normal
RESOLVED FIXED
2 months ago
2 months ago

People

(Reporter: khyperia, Assigned: khyperia)

Tracking

unspecified
mozilla69
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox69 fixed)

Details

Attachments

(1 attachment)

function f(x) {
    console.log(x);
}
class C{
    [f(1)](){}
    [f(2)] = "hi";
    [f(3)](){}
    [f(4)] = "hi";
}

currently prints 1,3,2,4, which is incorrect - it should be in order.

Priority: -- → P1
Pushed by ahauck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9953e8853243
Emit field keys in correct order. r=jorendorff
Flags: needinfo?(khyperia)
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.