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

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

Issue 10942028: Support class and typedef literals as expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/enqueue.dart
diff --git a/lib/compiler/implementation/enqueue.dart b/lib/compiler/implementation/enqueue.dart
index eac0761044ab1cad606f5fa68012a26382cd8ee9..7657c167ca73e5b06bfa9f12ed3244120401d9e1 100644
--- a/lib/compiler/implementation/enqueue.dart
+++ b/lib/compiler/implementation/enqueue.dart
@@ -102,7 +102,7 @@ class Enqueuer {
// that constructors know whether they need to generate code for
// runtime type.
if (element.isGetter() && element.name == Compiler.RUNTIME_TYPE) {
- compiler.enabledRuntimeType = true;
+ compiler.enableRuntimeTypeFunction();
} else if (element == compiler.functionApplyMethod) {
compiler.enabledFunctionApply = true;
} else if (element == compiler.invokeOnMethod) {

Powered by Google App Engine
This is Rietveld 408576698