Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: tests/language/parameter_metadata_test.dart

Issue 296463003: Handle metadata on nested function parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // Test that metadata annotations can be handled on nested parameters.
6
7 test(
8 @deprecated /// 01: ok
9 f(
10 @deprecated /// 02: ok
11 a,
12 @deprecated /// 03: ok
13 g(
14 @deprecated /// 04: ok
15 b))) {}
16
17 main() {
18 test(null);
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698