Navigation Menu

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

Warn about misspelled meta tags #10913

Closed
stevemessick opened this issue May 28, 2013 · 6 comments
Closed

Warn about misspelled meta tags #10913

stevemessick opened this issue May 28, 2013 · 6 comments
Labels
analyzer-ux area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@stevemessick
Copy link
Contributor

If I write "@observable" you should be signaling an warning saying that the "O" must be lower case, I lost more than 30 minuts trying to understand why by observable was not working ehehe...
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.5.9_r22879 (2013-05-18)
OS: Windows 7 - amd64 (6.1)
JVM: 1.7.0_21

projects: 1

open dart files: 1

auto-run pub: true
localhost resolves to: 127.0.0.1
mem max/total/free: 889 / 457 / 169 MB
thread count: 28
index: 392390 relationships in 104463 elements in 306 sources

SDK installed: true
Dartium installed: true
analysis engine: new

@bwilkerson
Copy link
Member

Removed Type-Defect, Area-Editor labels.
Added Type-Enhancement, Area-Analyzer labels.

@bwilkerson
Copy link
Member

Removed the owner.
Added Analyzer-UX label.

@kasperl
Copy link

kasperl commented Jul 10, 2014

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

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@DartBot
Copy link

DartBot commented Jan 25, 2015

This comment was originally written by @Emasoft


It just happened to me too. The Analyzer is still very incomplete and unrealiable at this point. It still finds only a small percentage of code issues.

@stevemessick stevemessick added Type-Enhancement area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-ux labels Jan 25, 2015
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed triaged labels Feb 29, 2016
@srawlins
Copy link
Member

There are warnings for this now:

class A {
  @depricated
  int x;
}

https://dartpad.dartlang.org/7bf5fa9b6d363d40c3a44e4baa11bf7a

error: Annotation can be only constant variable or constant constructor invocation

The warning is a little oblique, but it tells you "I don't know what you tried to do on line 2."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-ux area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

6 participants