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

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

Issue 2620023002: Use elements/types in constants/values (Closed)
Patch Set: 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/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 4a377dc3e7997cead71e3a2878e9050737553a80..15d6c4796e48c43fd2696382a6e6606d77bf68eb 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1313,6 +1313,9 @@ class _CompilerCommonElements implements CommonElements {
_nativeAnnotationClass ??= _findRequired(jsHelperLibrary, 'Native');
@override
+ ResolutionDynamicType get dynamicType => const ResolutionDynamicType();
+
+ @override
ResolutionInterfaceType get objectType {
objectClass.ensureResolved(resolution);
return objectClass.rawType;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/constant_system_dart.dart » ('j') | pkg/compiler/lib/src/helpers/debug_collection.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698