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

Flag unused booleans #11625

Closed
stevemessick opened this issue Jun 28, 2013 · 4 comments
Closed

Flag unused booleans #11625

stevemessick opened this issue Jun 28, 2013 · 4 comments
Assignees
Labels
analyzer-warning Issues with the analyzer's Warning codes area-analyzer 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

Would be nice if a statement like a == b; (outside of a conditional expression) would be flagged as a warning by the editor.
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.5.20_r24275 (2013-06-21)
OS: Linux - i386 (3.2.5-gg1236)
JVM: 1.7.0-google-v5

projects: 4

open dart files: 9

auto-run pub: true
localhost resolves to: 127.0.0.1
mem max/total/free: 967 / 373 / 91 MB
thread count: 42
index: 274485 relationships in 58089 keys in 311 sources

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


Attachment:
screenshot.png (365.30 KB)

@bwilkerson
Copy link
Member

Added Analyzer-Hint 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.

@stevemessick stevemessick added Type-Enhancement area-analyzer analyzer-warning Issues with the analyzer's Warning codes labels Aug 4, 2014
@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
@pq
Copy link
Member

pq commented May 27, 2016

Moved to the linter: dart-lang/linter#226.

@pq pq closed this as completed May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-warning Issues with the analyzer's Warning codes area-analyzer 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

5 participants