OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // Regression test for issue where regenerating the code when collecting debug | 5 // Regression test for issue where regenerating the code when collecting debug |
6 // information did not produce the same code because parameter mapping stubs | 6 // information did not produce the same code because parameter mapping stubs |
7 // were not cached. | 7 // were not cached. |
8 | 8 |
9 f(int a, {int b: 1}) => a + b; | 9 f(int a, {int b: 1}) => a + b; |
10 | 10 |
11 main() { | 11 main() { |
12 f(1); | 12 f(1); |
13 } | 13 } |
OLD | NEW |