Closed Bug 1204026 Opened 9 years ago Closed 8 years ago

Labelled generator declarations are invalid

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox43 --- affected

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete, Whiteboard: [DocArea=JS])

Test case:
---
L: function* F(){}
---

Expected: Throws SyntaxError
Actual: No SyntaxError

ES2015, 13.13 Labelled Statements, B.3.2 Labelled Function Declarations
Keywords: dev-doc-needed
Whiteboard: [DocArea=JS]
Blocks: es6
Depends on: 1288459
Fixed in bug 1288459.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.