| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // Imported by deferred_api_test.dart. | 5 // JSON parsing and serialization. |
| 6 | 6 |
| 7 library deferred_api_library; | 7 patch parse(String json, [reviver(var key, var value)]) { |
| 8 | 8 return _parse(json, reviver); |
| 9 foo(x) { | |
| 10 print('foo($x)'); | |
| 11 return 42; | |
| 12 } | 9 } |
| OLD | NEW |