Chromium Code Reviews| 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; |
|
ngeoffray
2011/10/14 09:26:56
ditto.
zundel
2011/10/14 10:04:21
I was under the impression you cannot initialize a
ngeoffray
2011/10/14 10:33:42
You can initialize non-static fields (including to
|
| int globalFunction() { |
| return 42; |