| 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 interface Mint factory MintImpl { | 5 interface Mint default MintImpl { |
| 6 | 6 |
| 7 Mint(); | 7 Mint(); |
| 8 | 8 |
| 9 Purse createPurse(int balance); | 9 Purse createPurse(int balance); |
| 10 | 10 |
| 11 } | 11 } |
| 12 | 12 |
| 13 | 13 |
| 14 class MintImpl implements Mint { | 14 class MintImpl implements Mint { |
| 15 | 15 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 reply("Exception: Command not understood"); | 232 reply("Exception: Command not understood"); |
| 233 } | 233 } |
| 234 //print("command $command done"); | 234 //print("command $command done"); |
| 235 } | 235 } |
| 236 | 236 |
| 237 } | 237 } |
| 238 | 238 |
| 239 main() { | 239 main() { |
| 240 MintMakerPromiseTest.testMain(); | 240 MintMakerPromiseTest.testMain(); |
| 241 } | 241 } |
| OLD | NEW |