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

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

Issue 1638533004: Create local alias for super class in --closure mode (issue #312) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix test Created 4 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
« no previous file with comments | « test/codegen/expect/closure.js ('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/types.dart
diff --git a/tool/input_sdk/private/types.dart b/tool/input_sdk/private/types.dart
index f825850dcf366dcc1695ba6755af75868d4f0ba0..d0029361a8930d223506b1c289f74df5dfe01b03 100644
--- a/tool/input_sdk/private/types.dart
+++ b/tool/input_sdk/private/types.dart
@@ -38,8 +38,9 @@ final metadata = JS('', 'Symbol("metadata")');
/// String toString();
///
///
+final _TypeRepBase = JS('', '$LazyTagged(() => $Type)');
final TypeRep = JS('', '''
- class TypeRep extends $LazyTagged(() => $Type) {
+ class TypeRep extends $_TypeRepBase {
get name() {return this.toString();}
}
''');
« no previous file with comments | « test/codegen/expect/closure.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698