Skip to content

Analyzer: Remove error for library name clash #42699

@eernstg

Description

@eernstg

The analyzer reports an error for the following situation:

// Library 'lib1.dart'.
library clashing.nonempty.name;

// Library 'lib2.dart'.
library clashing.nonempty.name;

// Library 'main.dart'.
import 'lib1.dart';
import 'lib2.dart';

void main() {}

This was specified as a warning, but was removed from the language specification in dart-lang/language#1083, so the analyzer should no more report this error, with or without null-safety.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions