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

Bogus error message from scanner #13366

Closed
DartBot opened this issue Sep 17, 2013 · 7 comments
Closed

Bogus error message from scanner #13366

DartBot opened this issue Sep 17, 2013 · 7 comments
Assignees
Labels
P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@DartBot
Copy link

DartBot commented Sep 17, 2013

This issue was originally filed by ngeoffray@google.com


For this program:

class A implements Function {
  call(arg) => arg;
  }

}

main() {
}

t$ ./sdk/bin/dart2js foo.dart
foo.dart:5:1: Error: Can't have modifier 'StringToken(})' here.
Try removing 'StringToken(})'.
}
^
foo.dart:5:1: expected a type, but got '}'
}

@peter-ahe-google
Copy link
Contributor

I'm pretty sure this isn't a problem in the scanner, but a problem in the parser.

@kasperl
Copy link

kasperl commented Sep 18, 2013

Added this to the M7 milestone.

@kasperl
Copy link

kasperl commented Oct 2, 2013

Removed this from the M7 milestone.
Added this to the M8 milestone.

@kasperl
Copy link

kasperl commented Jun 4, 2014

Removed this from the M8 milestone.
Added this to the 1.6 milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Feb 29, 2016
@sigmundch
Copy link
Member

handled by the CFE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants