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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart

Issue 304153014: Remove element from DynamicType. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix infinite loop. Created 6 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/mirrors/dart2js_mirrors.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart
index 1d21994c44c25eed564750bad89e1fa57f4a0def..a81c258073560a667faa5fde3cc0870c52ba21e2 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart
@@ -308,7 +308,7 @@ class Dart2JsMirrorSystem extends MirrorSystem {
Dart2JsMirrorSystem get mirrorSystem => this;
TypeMirror get dynamicType =>
- _convertTypeToTypeMirror(compiler.types.dynamicType);
+ _convertTypeToTypeMirror(const DynamicType());
TypeMirror get voidType =>
_convertTypeToTypeMirror(const VoidType());

Powered by Google App Engine
This is Rietveld 408576698