| 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 'dart:isolate'; | 5 import 'dart:isolate'; |
| 6 import 'dart:async'; |
| 6 | 7 |
| 7 class Fields { | 8 class Fields { |
| 8 Fields(int i, int j) : fld1 = i, fld2 = j, fld5 = true {} | 9 Fields(int i, int j) : fld1 = i, fld2 = j, fld5 = true {} |
| 9 int fld1; | 10 int fld1; |
| 10 final int fld2; | 11 final int fld2; |
| 11 static int fld3; | 12 static int fld3; |
| 12 static const int fld4 = 10; | 13 static const int fld4 = 10; |
| 13 bool fld5; | 14 bool fld5; |
| 14 } | 15 } |
| 15 class FieldsTest { | 16 class FieldsTest { |
| (...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1549 void processLines() { | 1550 void processLines() { |
| 1550 port.receive((message, SendPort replyTo) { | 1551 port.receive((message, SendPort replyTo) { |
| 1551 if (message == TERMINATION_MESSAGE) { | 1552 if (message == TERMINATION_MESSAGE) { |
| 1552 assert(replyTo == null); | 1553 assert(replyTo == null); |
| 1553 port.close(); | 1554 port.close(); |
| 1554 } else { | 1555 } else { |
| 1555 replyTo.send(processLine(message), null); | 1556 replyTo.send(processLine(message), null); |
| 1556 } | 1557 } |
| 1557 }); | 1558 }); |
| 1558 } | 1559 } |
| OLD | NEW |