Narcissus JS does not support 'let'

NEW
Assigned to

Status

Other Applications
Narcissus
--
minor
7 years ago
7 years ago

People

(Reporter: Tom Austin, Assigned: Tom Austin)

Tracking

Other Branch
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
Narcissus can now parse let, but jsexec does not handle it.

It appears that a number of unit tests might be failing for this reason specifically.
(Assignee)

Comment 1

7 years ago
Investigation note: treating 'let' as a synonym for 'var' will allow another 13 unit test scripts to pass.
These tests are all predicated on version() >= 170, right? If so, they want let as a synonym for var only at top level of a program or function body, of course. In a block, let is quite different from var.

/be
Do we not actually have any tests that make sure 'let' terminates correctly at the end of blocks? I guess those would continue to fail after your change, so no difference in numbers.

Updated

7 years ago
Component: JavaScript Engine → Narcissus
Keywords: narcissus
Product: Core → Other Applications
QA Contact: general → narcissus
You need to log in before you can comment on or make changes to this bug.