Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: pkg/compiler/lib/src/world.dart

Issue 2273393003: Remove mask parameter from TypeMask.locateSingleElement (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index 19fb9a2008e283ccdaf56d25563f1cd4812f52c8..88cd29496623428cd6936bbc33b6a8c04ee625c0 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -727,7 +727,7 @@ class World implements ClassWorld {
Element locateSingleElement(Selector selector, TypeMask mask) {
mask ??= compiler.commonMasks.dynamicType;
- return mask.locateSingleElement(selector, mask, compiler);
+ return mask.locateSingleElement(selector, compiler);
}
TypeMask extendMaskIfReachesAll(Selector selector, TypeMask mask) {

Powered by Google App Engine
This is Rietveld 408576698