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

Unified Diff: tool/input_sdk/private/ddc_runtime/types.dart

Issue 1920743003: small cleanup in dart:_runtime (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « tool/input_sdk/private/ddc_runtime/rtti.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/ddc_runtime/types.dart
diff --git a/tool/input_sdk/private/ddc_runtime/types.dart b/tool/input_sdk/private/ddc_runtime/types.dart
index 408f7ae5f237d7bb355407a4562612595056ae90..0246c6750e3decf45beb8f9fa4d30548d32e498e 100644
--- a/tool/input_sdk/private/ddc_runtime/types.dart
+++ b/tool/input_sdk/private/ddc_runtime/types.dart
@@ -38,10 +38,10 @@ final metadata = JS('', 'Symbol("metadata")');
/// String toString();
///
///
-final _TypeRepBase = JS('', '$LazyTagged(() => $Type)');
final TypeRep = JS('', '''
- class TypeRep extends $_TypeRepBase {
- get name() {return this.toString();}
+ class TypeRep {
+ get name() { return this.toString(); }
+ get [$_runtimeType]() { return $Type; }
}
''');
« no previous file with comments | « tool/input_sdk/private/ddc_runtime/rtti.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698