| OLD | NEW | 
|   1 // Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file |   1 // Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file | 
|   2 // for details. All rights reserved. Use of this source code is governed by a |   2 // for details. All rights reserved. Use of this source code is governed by a | 
|   3 // BSD-style license that can be found in the LICENSE file. |   3 // BSD-style license that can be found in the LICENSE file. | 
|   4  |   4  | 
|   5 class Constants { |   5 class Constants { | 
|   6   static final PI = 3.14; |   6   static final PI = 3.14; | 
|   7   static final foo = 2; |   7   static final foo = 2; | 
|   8 } |   8 } | 
|   9  |   9  | 
|  10 class A { |  10 class A { | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|  38  |  38  | 
|  39 class E { |  39 class E { | 
|  40   var f; |  40   var f; | 
|  41   E() {} |  41   E() {} | 
|  42   E.fun(x) : f = (() { return x + 13; }) {} |  42   E.fun(x) : f = (() { return x + 13; }) {} | 
|  43   static foo() { return 3; } |  43   static foo() { return 3; } | 
|  44   static fooo(x) { return () { return x + 1024; }; } |  44   static fooo(x) { return () { return x + 1024; }; } | 
|  45   bar() { return 4; } |  45   bar() { return 4; } | 
|  46   toto(x) { return () { return x + 5; }; } |  46   toto(x) { return () { return x + 5; }; } | 
|  47 } |  47 } | 
| OLD | NEW |