Skip to content

Conversation

vladima
Copy link
Contributor

@vladima vladima commented Sep 24, 2015

…m members with spec. Fixes #2790

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: since u only use this variable here, just do autoValue === undefined

Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer to have the constant since it makes it clearer

@yuit
Copy link
Contributor

yuit commented Sep 24, 2015

👍

@vladima
Copy link
Contributor Author

vladima commented Sep 24, 2015

@DanielRosenwasser any other comments?

@DanielRosenwasser
Copy link
Member

👍

vladima added a commit that referenced this pull request Sep 25, 2015
align behavior of constant expressions in initializers of ambient enu…
@vladima vladima merged commit b866781 into master Sep 25, 2015
@vladima vladima deleted the constInitializersInEnums branch September 25, 2015 04:49
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants