OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 class A { | 7 class A { |
8 final x; | 8 final x; |
9 const A(this.x); | 9 const A(this.x); |
10 const A.redirect(x) : this(x + 1); | 10 const A.redirect(x) : this(x + 1); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 Expect.equals(null, c6.y); | 104 Expect.equals(null, c6.y); |
105 Expect.equals(null, c6.z); | 105 Expect.equals(null, c6.z); |
106 Expect.equals(null, c7.x); | 106 Expect.equals(null, c7.x); |
107 Expect.equals(null, c7.y); | 107 Expect.equals(null, c7.y); |
108 Expect.equals(null, c7.z); | 108 Expect.equals(null, c7.z); |
109 Expect.equals(null, c8.x); | 109 Expect.equals(null, c8.x); |
110 Expect.equals(null, c8.y); | 110 Expect.equals(null, c8.y); |
111 Expect.equals(9911, c8.z); | 111 Expect.equals(9911, c8.z); |
112 Expect.identical(c3, c3b); | 112 Expect.identical(c3, c3b); |
113 } | 113 } |
OLD | NEW |