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

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

Issue 2996723002: Support typedef type literals (Closed)
Patch Set: Cleanup Created 3 years, 4 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/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index ce019515969cbbe8dc33c7498148fd94831f19c1..39310b696840c1489dc256e442816840d0306463 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -14,7 +14,6 @@ import 'constants/values.dart';
import 'compiler.dart' show Compiler;
import 'options.dart';
import 'elements/entities.dart';
-import 'elements/resolution_types.dart' show ResolutionTypedefType;
import 'elements/types.dart';
import 'js_backend/enqueuer.dart';
import 'universe/world_builder.dart';
@@ -367,7 +366,7 @@ class ResolutionEnqueuer extends EnqueuerImpl {
break;
case TypeUseKind.TYPE_LITERAL:
if (type.isTypedef) {
- ResolutionTypedefType typedef = type;
+ TypedefType typedef = type;
worldBuilder.registerTypedef(typedef.element);
}
break;

Powered by Google App Engine
This is Rietveld 408576698