Closed Bug 426451 Opened 16 years ago Closed 16 years ago

Function expressions can't have expression-closure form

Categories

(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Assigned: lhansen)

Details

Attachments

(1 file)

For example:

es> var y = function (x) x
SyntaxError: (repl):1: Internal: Unhandled statement mode [class FullStmt]
Attached patch PatchSplinter Review
Fixes this bug, additionally fixes a bug in the lexer (the 'filename' property was not public following earlier cleanup), additionally gets rid of redundant Ast::Head structures where scope simplification no longer requires them.
Attachment #317699 - Flags: review?(jodyer)
Attachment #317699 - Flags: review?(jodyer) → review+
changeset:   530:a8609b43a6ae
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: