Skip to content
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

Incorrect rejection of 'super !=' #21137

Closed
eernstg opened this issue Sep 29, 2014 · 3 comments
Closed

Incorrect rejection of 'super !=' #21137

eernstg opened this issue Sep 29, 2014 · 3 comments
Assignees

Comments

@eernstg
Copy link
Member

eernstg commented Sep 29, 2014

The following co19 test stops with the compile-time error 'Error: '!=' cannot be called on super':

Language/12_Expressions/22_Equality_A01_t01.

According to 15.22, 'super != e' is equivalent to '!(super == e)', and the latter must be accepted during compilation and evaluated as described.

Note that the same issue arose for Area=VM (issue #1242), and it has been fixed there. There may be other cases mentioned in issue #1242 which are useful to consider at the same time.

@eernstg
Copy link
Member Author

eernstg commented Sep 30, 2014

Same situation arises with the following co19 test:

Language/12_Expressions/22_Equality_A05_t01.

@johnniwinther
Copy link
Member

Added Started label.

@johnniwinther
Copy link
Member

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

No branches or pull requests

3 participants