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

using 'external' as a type annotation should be a compile-time error #26581

Closed
harryterkelsen opened this issue May 31, 2016 · 1 comment
Closed
Assignees
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@harryterkelsen
Copy link
Contributor

This code should be a compile-time error:

main() {
  try {
    external foo;
  } catch (e) {}
}
@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) bug labels Jun 15, 2016
@peter-ahe-google peter-ahe-google self-assigned this May 18, 2017
@peter-ahe-google
Copy link
Contributor

Proposed fix in CL 2876813002.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

3 participants