A class imported through package import is not equal to the same class imported with relative path #23788
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-as-intended
Closed as the reported issue is expected behavior
Whereas importing both
a.dart
andmy_library.dart
as apackage:
URI, or as a relative path, results in both statements printing true:If I want to interact with a type within a library, but I send the type I want to interact with from outside the library, even though the type is declared within the library, strange inequalities results in weird behaviour.
The text was updated successfully, but these errors were encountered: