| 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 Fields { | 5 class Fields { |
| 6 Fields(int i, int j) : fld1 = i, fld2 = j, fld5 = true {} | 6 Fields(int i, int j) : fld1 = i, fld2 = j, fld5 = true {} |
| 7 int fld1; | 7 int fld1; |
| 8 final int fld2; | 8 final int fld2; |
| 9 static int fld3; | 9 static int fld3; |
| 10 static final int fld4 = 10; | 10 static final int fld4 = 10; |
| (...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 } | 1254 } |
| 1255 Expect.equals(true, encounteredException); | 1255 Expect.equals(true, encounteredException); |
| 1256 | 1256 |
| 1257 this.port.receive((ignored, replyTo) { | 1257 this.port.receive((ignored, replyTo) { |
| 1258 replyTo.send("foo", null); | 1258 replyTo.send("foo", null); |
| 1259 this.port.close(); | 1259 this.port.close(); |
| 1260 }); | 1260 }); |
| 1261 } | 1261 } |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 interface Mint factory MintImpl { | 1264 interface Mint default MintImpl { |
| 1265 | 1265 |
| 1266 Mint(); | 1266 Mint(); |
| 1267 | 1267 |
| 1268 Purse createPurse(int balance); | 1268 Purse createPurse(int balance); |
| 1269 | 1269 |
| 1270 } | 1270 } |
| 1271 | 1271 |
| 1272 | 1272 |
| 1273 class MintImpl implements Mint { | 1273 class MintImpl implements Mint { |
| 1274 | 1274 |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2189 }); | 2189 }); |
| 2190 }); | 2190 }); |
| 2191 } | 2191 } |
| 2192 | 2192 |
| 2193 void main() { | 2193 void main() { |
| 2194 this.port.receive((ignored, replyTo) { | 2194 this.port.receive((ignored, replyTo) { |
| 2195 replyTo.send("foo", null); | 2195 replyTo.send("foo", null); |
| 2196 }); | 2196 }); |
| 2197 } | 2197 } |
| 2198 } | 2198 } |
| OLD | NEW |