OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // Test that metadata annotations can be handled on nested parameters. | 5 // Test that metadata annotations can be handled on nested parameters. |
6 | 6 |
7 test( | 7 test( |
8 @deprecated // //# 01: ok | 8 @deprecated // //# 01: ok |
9 f( | 9 f( |
10 @deprecated // //# 02: ok | 10 @deprecated // //# 02: ok |
11 a, | 11 a, |
12 @deprecated // //# 03: ok | 12 @deprecated // //# 03: ok |
13 g( | 13 g( |
14 @deprecated //# 04: ok | 14 @deprecated //# 04: ok |
15 b))) {} | 15 b))) {} |
16 | 16 |
17 main() { | 17 main() { |
18 test(null); | 18 test(null); |
19 } | 19 } |
OLD | NEW |