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 #import("dart:isolate"); |
| 6 |
5 class Fields { | 7 class Fields { |
6 Fields(int i, int j) : fld1 = i, fld2 = j, fld5 = true {} | 8 Fields(int i, int j) : fld1 = i, fld2 = j, fld5 = true {} |
7 int fld1; | 9 int fld1; |
8 final int fld2; | 10 final int fld2; |
9 static int fld3; | 11 static int fld3; |
10 static final int fld4 = 10; | 12 static final int fld4 = 10; |
11 bool fld5; | 13 bool fld5; |
12 } | 14 } |
13 class FieldsTest { | 15 class FieldsTest { |
14 static Fields testMain() { | 16 static Fields testMain() { |
(...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 }); | 1938 }); |
1937 }); | 1939 }); |
1938 } | 1940 } |
1939 | 1941 |
1940 void main() { | 1942 void main() { |
1941 this.port.receive((ignored, replyTo) { | 1943 this.port.receive((ignored, replyTo) { |
1942 replyTo.send("foo", null); | 1944 replyTo.send("foo", null); |
1943 }); | 1945 }); |
1944 } | 1946 } |
1945 } | 1947 } |
OLD | NEW |