[CFE] Issue when library and its part define the same variable #54836
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
cfe-messages
Poor/undesirable messaging in errors/warnings emitted by the CFE.
type-question
A question about expected behavior or functionality
Consider the case when one
part
is used by two ownersNow CFE report the following error for
multiple_owners_owner_1.dart
So, CFE reports that the error occurs in
part
. But if we take a look atmultiple_owners_part.dart
or atmultiple_owners_owner_2.dart
we won't see anything wrong inpart
itself or in another library that use it (multiple_owners_owner_2.dart
). So, may be it makes sense to report that error occurs inmultiple_owners_owner_1.dart
, not inmultiple_owners_part.dart
?The text was updated successfully, but these errors were encountered: