Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

test262 bug: trailing comma in export declaration #545

Closed
dnalborczyk opened this issue Aug 4, 2018 · 1 comment
Closed

test262 bug: trailing comma in export declaration #545

dnalborczyk opened this issue Aug 4, 2018 · 1 comment

Comments

@dnalborczyk
Copy link
Contributor

[opening seperate issues for tracking purposes]

ExportsList in ExportDeclaration may include a trailing comma

test case: https://github.com/tc39/test262/blob/master/test/language/module-code/instn-iee-trlng-comma.js

export { a , } from './instn-iee-trlng-comma_FIXTURE.js';
export { a as b , } from './instn-iee-trlng-comma_FIXTURE.js';
assert.sameValue(a, 333, 'comma following named export');

ReferenceError: a is not defined
      at file:///test262/test/language/module-code/instn-iee-trlng-comma.js:129:24
      at Generator.next (<anonymous>)
@dnalborczyk dnalborczyk added the bug label Aug 4, 2018
@jdalton
Copy link
Member

jdalton commented Aug 4, 2018

This isn't about the trailing comma. It's the self circular reference if I had to guess.

Update:

Confirmed this bug is a dup of #544.

@jdalton jdalton added duplicate and removed bug labels Aug 4, 2018
@jdalton jdalton closed this as completed Aug 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants