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

Unified Diff: lib/type_propagation/builder.dart

Issue 2439043002: Introduce Substitution class and Supertype class. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « lib/type_algebra.dart ('k') | lib/visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/type_propagation/builder.dart
diff --git a/lib/type_propagation/builder.dart b/lib/type_propagation/builder.dart
index 44553a06f51a5aea11176961bed27d0c849aa705..5c2b3f62a570721fee420ac1402a91b51bbc03ad 100644
--- a/lib/type_propagation/builder.dart
+++ b/lib/type_propagation/builder.dart
@@ -175,7 +175,7 @@ class Builder {
if (class_.mixedInType != null) {
supers.add(getLatticePointForSubtypesOfClass(class_.mixedInClass));
}
- for (InterfaceType supertype in class_.implementedTypes) {
+ for (Supertype supertype in class_.implementedTypes) {
supers.add(getLatticePointForSubtypesOfClass(supertype.classNode));
}
int subtypePoint = newLatticePoint(supers, class_,
« no previous file with comments | « lib/type_algebra.dart ('k') | lib/visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698