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

Dart grammar wrongly allows !super #15628

Closed
DartBot opened this issue Dec 13, 2013 · 1 comment
Closed

Dart grammar wrongly allows !super #15628

DartBot opened this issue Dec 13, 2013 · 1 comment
Assignees
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language).

Comments

@DartBot
Copy link

DartBot commented Dec 13, 2013

This issue was originally filed by @mhausner


Also see co19 issue #301.

The dart spec allows using super with the prefix operator !. Boolean operators cannot be overloaded and thus !super is not allowed.

Gilad, I think we had this discussion a while ago and concluded that !super should not be allowed. The grammar needs to be corrected.

@gbracha
Copy link
Contributor

gbracha commented Dec 16, 2013

Fixed in 1.01 draft.


Added Done label.

@DartBot DartBot added Type-Defect area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). labels Dec 16, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language).
Projects
None yet
Development

No branches or pull requests

4 participants