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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/full_function_set.dart

Issue 15381002: Fix a pretty bad bug of a class inheriting a patched class. The fix is (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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: sdk/lib/_internal/compiler/implementation/universe/full_function_set.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/universe/full_function_set.dart (revision 22929)
+++ sdk/lib/_internal/compiler/implementation/universe/full_function_set.dart (working copy)
@@ -59,7 +59,7 @@
ClassElement single = classes[0];
// Return true if the single class in our list does not have a
// single instantiated subclass.
- Set<ClassElement> subtypes = compiler.world.subtypes[single];
+ Set<ClassElement> subtypes = compiler.world.subtypesOf(single);
return subtypes == null
|| subtypes.every((ClassElement each) => !each.isSubclassOf(single));
}

Powered by Google App Engine
This is Rietveld 408576698