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

Unified Diff: frog/leg/compiler.dart

Issue 9753001: super and this in compile-time constants. (Closed) Base URL: /home/flo/programming/dart2/../dart/dart@master
Patch Set: Remove work-around for VM bug. Created 8 years, 9 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: frog/leg/compiler.dart
diff --git a/frog/leg/compiler.dart b/frog/leg/compiler.dart
index 3cdedd5de1ab87a4834eae9ed0fee13f4fcb4843..8a0e6eedc5328de0df9939701def0e02f12cd8bd 100644
--- a/frog/leg/compiler.dart
+++ b/frog/leg/compiler.dart
@@ -385,7 +385,7 @@ class Compiler implements DiagnosticListener {
() => resolver.resolveSignature(element));
}
- Object compileVariable(VariableElement element) {
+ Constant compileVariable(VariableElement element) {
return withCurrentElement(element, () {
return constantHandler.compileVariable(element);
});

Powered by Google App Engine
This is Rietveld 408576698