Closed Bug 1520353 Opened 2 years ago Closed 2 years ago

[BinAST] Detect lexical variable earlier

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

We don't check AssertedDeclaredName.kind, and if a script contains for (let ...,
it throws BinAST Parsing Error: Missing variable in AssertedScope.

We should check AssertedDeclaredName.kind and throw better error.

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/c3da93a4af8f
Detect lexical variable earlier in BinAST. r=Yoric
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.