Skip to content

duplicate_import diagnostic does not catch importing both relative and with a package: URI #48987

@natebosch

Description

@natebosch

If I have a file which imports the same library twice, as both package:foo/src/bar.dart and bar.dart, I'd expect either duplicate_import or unnecessary_import, but I don't see either.

See dart-lang/build#3291

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failureslegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions