OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // Library used by if_null_assignment_behavior_test.dart, which | 5 // Library used by if_null_assignment_behavior_test.dart, which |
6 // imports it using the prefix "h.". | 6 // imports it using the prefix "h.". |
7 | 7 |
8 library lib; | 8 library lib; |
9 | 9 |
10 import "package:expect/expect.dart"; | 10 import "package:expect/expect.dart"; |
(...skipping 20 matching lines...) Expand all Loading... |
31 operations.add('h.C.x'); | 31 operations.add('h.C.x'); |
32 var tmp = xGetValue; | 32 var tmp = xGetValue; |
33 xGetValue = null; | 33 xGetValue = null; |
34 return tmp; | 34 return tmp; |
35 } | 35 } |
36 | 36 |
37 static void set x(value) { | 37 static void set x(value) { |
38 operations.add('h.C.x=$value'); | 38 operations.add('h.C.x=$value'); |
39 } | 39 } |
40 } | 40 } |
OLD | NEW |