Index: pkg/compiler/lib/src/types/flat_type_mask.dart |
diff --git a/pkg/compiler/lib/src/types/flat_type_mask.dart b/pkg/compiler/lib/src/types/flat_type_mask.dart |
index bd524265666beaf2077f21455cc57046e3baa552..2fa32efb6fce006ae09cc573d902fe31a2d04181 100644 |
--- a/pkg/compiler/lib/src/types/flat_type_mask.dart |
+++ b/pkg/compiler/lib/src/types/flat_type_mask.dart |
@@ -480,7 +480,7 @@ class FlatTypeMask implements TypeMask { |
Selector selector) { |
// Use the [:implementation] of [cls] in case the found [element] |
// is in the patch class. |
- return cls.implementation.lookupSelector(selector); |
+ return cls.implementation.lookupByName(selector.memberName); |
} |
/** |