[BinAST] Detect lexical variable earlier

RESOLVED FIXED in Firefox 66

Status

()

enhancement
P3
normal
RESOLVED FIXED
4 months ago
4 months ago

People

(Reporter: arai, Assigned: arai)

Tracking

Trunk
mozilla66
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox66 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

4 months ago

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.

Comment 2

4 months ago
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/c3da93a4af8f
Detect lexical variable earlier in BinAST. r=Yoric

Comment 3

4 months ago
bugherder
Status: ASSIGNED → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.