Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Fix duplicate check #137

Merged
merged 1 commit into from
Sep 22, 2016
Merged

Fix duplicate check #137

merged 1 commit into from
Sep 22, 2016

Conversation

danez
Copy link
Member

@danez danez commented Sep 22, 2016

Fix comment in #107

@kaicataldo Can you check if this is correct?

@@ -123,7 +123,7 @@ export default class State {

// Names of exports store. `default` is stored as a name for both
// `export default foo;` and `export { foo as default };`.
exportedIdentifiers: {[id:string]: boolean};
exportedIdentifiers: Array<string;
Copy link
Member

@hzoo hzoo Sep 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Array<string>;

Copy link
Member Author

@danez danez Sep 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Done

@hzoo
Copy link
Member

hzoo commented Sep 22, 2016

cc @dlmr

Copy link
Member

@kaicataldo kaicataldo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing this!

@dlmr
Copy link

dlmr commented Sep 22, 2016

Looks good! LGTM 👍

@hzoo hzoo merged commit 952d50f into babel:master Sep 22, 2016
@danez danez deleted the fix-default branch September 22, 2016 20:01
@@ -43,7 +43,7 @@ export default class State {
this.containsEsc = this.containsOctal = false;
this.octalPosition = null;

this.exportedIdentifiers = {};
this.exportedIdentifiers = [];
Copy link

@STRML STRML Sep 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to not use Object.create(null); here instead?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants