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

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

Issue 2612253002: Fix needsNoSuchMethod computation for abstractly instantiated classes (Closed)
Patch Set: dartfmt Created 3 years, 11 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 097940ea6d635d631f5221f794e9b1ce8d15597a..50c708f11104739935b5aa0c017a15e9ad4d5cdc 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -908,7 +908,7 @@ class ClosedWorldImpl implements ClosedWorld, ClosedWorldRefiner {
ClassSet classSet = getClassSet(base);
ClassHierarchyNode node = classSet.node;
if (query == ClassQuery.EXACT) {
- return node.isDirectlyInstantiated && !hasConcreteMatch(base, selector);
+ return node.isExplicitlyInstantiated && !hasConcreteMatch(base, selector);
} else if (query == ClassQuery.SUBCLASS) {
return subclassesNeedNoSuchMethod(node);
} else {
« no previous file with comments | « no previous file | tests/compiler/dart2js/jsinterop/world_test.dart » ('j') | tests/language/regress_28255_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698