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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.dart

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated feedback. Created 9 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: compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.dart
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.dart b/compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.dart
index d2192a15f43777d782f18ed4adb38a99f3fe721b..22de779835882f650cc032c5af2988364774740a 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.dart
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.dart
@@ -11,7 +11,7 @@ class Other0 {
int get field() { return field_; }
}
-int globalVar = 42;
+final int globalVar = 42;
floitsch 2011/10/14 22:46:15 This should not be necessary.
zundel 2011/10/17 02:56:02 Done.
int globalFunction() {
return 42;

Powered by Google App Engine
This is Rietveld 408576698