Skip to content

Regression: TODOs treated as errors by dartanalyzer as of 1.16.0-dev.1.0 #26026

@ochafik

Description

@ochafik

Given:

// TODO(ochafik): hello.
main() {}

Then dartanalyzer --strong ~/analyzer.dart yields:

Analyzing [/Users/ochafik/analyzer.dart]...
[error] TODO(ochafik): hello. (/Users/ochafik/analyzer.dart, line 1, col 4)
1 error found.
dartanalyzer --version
dartanalyzer version 1.16.0-dev.1.0

Works fine in 1.16.0-dev.0.0 (emitted as hint instead of error)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions