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

Unified Diff: pkg/compiler/lib/src/types/flat_type_mask.dart

Issue 2320583002: Introduce OpenWorld. (Closed)
Patch Set: Created 4 years, 3 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/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 b1b6ca55b079127525384d158126649ae8dcc6f6..a1607205dbd36eb8695011953fa0eebe5d363b5c 100644
--- a/pkg/compiler/lib/src/types/flat_type_mask.dart
+++ b/pkg/compiler/lib/src/types/flat_type_mask.dart
@@ -48,7 +48,7 @@ class FlatTypeMask implements TypeMask {
* Ensures that the generated mask is normalized, i.e., a call to
* [TypeMask.assertIsNormalized] with the factory's result returns `true`.
*/
- factory FlatTypeMask.normalized(ClassElement base, int flags, World world) {
+ factory FlatTypeMask.normalized(ClassElement base, int flags, ClassWorld world) {
Harry Terkelsen 2016/09/19 20:41:10 long line
Johnni Winther 2016/09/21 09:44:59 Done.
if ((flags >> 1) == EMPTY || ((flags >> 1) == EXACT)) {
return new FlatTypeMask.internal(base, flags);
}
@@ -601,7 +601,7 @@ class FlatTypeMask implements TypeMask {
ClassElement enclosingClass = element.enclosingClass;
return hasConcreteMatch(enclosingClass.superclass, selector, world);
}
- return selector.appliesUntyped(element, world);
+ return selector.appliesUntyped(element, world.backend);
}
bool needsNoSuchMethodHandling(Selector selector, ClassWorld classWorld) {

Powered by Google App Engine
This is Rietveld 408576698