Skip to content

Commit a371eb5

Browse files
committed
Fix test failure
1 parent 4de10a3 commit a371eb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/src/model/inheriting_container.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,11 @@ abstract class InheritingContainer extends Container {
119119
}
120120

121121
List<Operator> get inheritedOperators {
122-
var operatorNames = declaredOperators.map((o) => o.element2.name3).toSet();
122+
var operatorNames =
123+
declaredOperators.map((o) => o.element2.lookupName).toSet();
123124
var inheritedOperatorElements = _inheritedElements
124125
.whereType<MethodElement2>()
125-
.where((e) => e.isOperator && !operatorNames.contains(e.name3))
126+
.where((e) => e.isOperator && !operatorNames.contains(e.lookupName))
126127
.toSet();
127128

128129
return [

0 commit comments

Comments
 (0)