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

Unified Diff: lib/compiler/implementation/lib/js_helper.dart

Issue 10942028: Support class and typedef literals as expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two long lines. Created 8 years, 2 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: lib/compiler/implementation/lib/js_helper.dart
diff --git a/lib/compiler/implementation/lib/js_helper.dart b/lib/compiler/implementation/lib/js_helper.dart
index 05de5adc9546718c7db4c76e85d05e2c18954d89..051498591bacd77881b61d952364a993c24db197 100644
--- a/lib/compiler/implementation/lib/js_helper.dart
+++ b/lib/compiler/implementation/lib/js_helper.dart
@@ -1351,6 +1351,7 @@ class TypeImpl implements Type {
final String typeName;
TypeImpl(this.typeName);
toString() => typeName;
+ Type get runtimeType => getOrCreateCachedRuntimeType('Type');
ngeoffray 2012/10/10 07:32:24 Looks fishy that you need to specialize this class
karlklose 2012/10/23 10:33:52 I was trying to hide the implementation name, but
}
Type getOrCreateCachedRuntimeType(String key) {

Powered by Google App Engine
This is Rietveld 408576698