Skip to content

Simplify js check in index constraint errors #15669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 8, 2017

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented May 8, 2017

Any declaration that is a BinaryExpression is a special javascript declaration, and all JS declarations that are checked for index constraint compatibility are, in fact, relevant.

Fixes #15616
Improves #15586

sandersn added 2 commits May 8, 2017 10:40
Any declaration that is a BinaryExpression is a special javascript
declaration, and all JS declarations that are checked for index
constraint compatibility are, in fact, relevant.
class Hello extends BaseClass {
const DEFAULT_MESSAGE = "nop!";
Copy link
Contributor

Choose a reason for hiding this comment

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

did you mean to move this outside the class?

Copy link
Member Author

Choose a reason for hiding this comment

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

That does clean up the test output a little. #15616 reproed even with it in the incorrect place, though.

@mhegazy
Copy link
Contributor

mhegazy commented May 8, 2017

Please port this to release-2.3

@sandersn sandersn merged commit a72a9aa into master May 8, 2017
@sandersn sandersn deleted the simplify-js-check-in-index-constraint-errors branch May 8, 2017 20:36
@sandersn
Copy link
Member Author

sandersn commented May 8, 2017

It's now in 2.3 too.

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 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.

3 participants