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

Unified Diff: pkg/compiler/lib/src/resolution/constructors.dart

Issue 1416253002: Remove requiredTypes (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: pkg/compiler/lib/src/resolution/constructors.dart
diff --git a/pkg/compiler/lib/src/resolution/constructors.dart b/pkg/compiler/lib/src/resolution/constructors.dart
index 9df156ca83c33f521788e96d3a2bf4f899e71050..1a69a1bcd81babb404ad15d4ca5ec7bddc07bf25 100644
--- a/pkg/compiler/lib/src/resolution/constructors.dart
+++ b/pkg/compiler/lib/src/resolution/constructors.dart
@@ -567,7 +567,6 @@ class ConstructorResolver extends CommonResolverVisitor<ConstructorResult> {
node,
malformedIsError: inConstContext,
deferredIsMalformed: false);
- registry.registerRequiredType(type, resolver.enclosingElement);
return constructorResultForType(node, type);
}

Powered by Google App Engine
This is Rietveld 408576698