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

Side by Side Diff: pkg/docgen/test/multi_library_code/lib/test_lib_bar.dart

Issue 243483005: pkg/docgen: fixed type references within typedef doc comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
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 library test_lib.bar; 5 library test_lib.bar;
6 6
7 import 'test_lib.dart'; 7 import 'test_lib.dart';
8 import 'test_lib_foo.dart';
8 9
9 /* 10 /*
10 * Normal comment for class C. 11 * Normal comment for class C.
11 */ 12 */
12 class C { 13 class C {
13 } 14 }
14 15
15 /// [input] is of type [C] returns an [A]. 16 /// Processes an [input] of type [C] instance for testing.
kevmoo 2014/04/20 21:34:54 The method and the typedef have the same signature
16 A generateFoo(C input) { 17 ///
18 /// To eliminate import warnings for [A] and to test typedefs.
19 ///
20 /// It's important that the [List<A>] for param [listOfA] is not empty.
21 A testMethod(C input, List<A> listOfA, B aBee) {
17 throw 'noop'; 22 throw 'noop';
18 } 23 }
19 24
20 /// Processes a [C] instance for testing. 25 /// Processes an [input] of type [C] instance for testing.
21 /// 26 ///
22 /// To eliminate import warnings for [A] and to test typedefs. 27 /// To eliminate import warnings for [A] and to test typedefs.
23 typedef A AnATransformer(C other); 28 ///
29 /// It's important that the [List<A>] for param [listOfA] is not empty.
30 typedef A testTypedef(C other, List<A> listOfA, B aBee);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698