-
Notifications
You must be signed in to change notification settings - Fork 131
Commit fd14737
Address doc comment rot in the standard library.
- Match @param/@tparam names to the actual parameter name
- Use @tparam for type parameters
- Whitespace is required between `*` and `@`
- Fix incorrect references to @define macros.
- Use of monospace `` and {{{}}} (much more needed)
- Remove `@param p1 ...` stubs, which appear in the generated docss.
- But, retainsed `@param p1` stubs, assuming they will be filtered from
the generated docs by SI-5795.
- Avoid use of the shorthand `@param doc for the solitary param`
(which works, but isn't recognized by the code inspection in IntelliJ
I used to sweep through the problems)
The remaining warnings from `ant docs` seem spurious, I suspect they are
an unintended consequence of documenting extension methods.
[scaladoc] /Users/jason/code/scala/src/library/scala/collection/TraversableOnce.scala:181: warning: Variable coll undefined in comment for method reduceOption in class Tuple2Zipped
[scaladoc] def reduceOption[A1 >: A](op: (A1, A1) => A1): Option[A1] = reduceLeftOption(op)
[scaladoc] ^1 parent f388776 commit fd14737
File tree
6 files changed
+14
-18
lines changed- src/library/scala/util/parsing
- ast
- input
6 files changed
+14
-18
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
329 | - | ||
330 | - | ||
331 | - | ||
332 | 329 |
| |
333 | 330 |
| |
331 | + | ||
332 | + | ||
333 | + | ||
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | - | ||
24 | + | ||
25 | 25 |
| |
26 | - | ||
27 | - | ||
28 | 26 |
| |
29 | 27 |
| |
30 | 28 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | - | ||
48 | + | ||
49 | 49 |
| |
50 | - | ||
51 | - | ||
50 | + | ||
52 | 51 |
| |
53 | 52 |
| |
54 | 53 |
| |
| |||
59 | 58 |
| |
60 | 59 |
| |
61 | 60 |
| |
62 | - | ||
61 | + | ||
63 | 62 |
| |
64 | 63 |
| |
65 | 64 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | - | ||
26 | + | ||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | - | ||
31 | - | ||
32 | - | ||
33 | - | ||
30 | + | ||
34 | 31 |
| |
35 | 32 |
| |
36 | 33 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
16 | - | ||
17 | - | ||
18 | 15 |
| |
19 | 16 |
| |
20 | 17 |
| |
21 | 18 |
| |
22 | 19 |
| |
23 | 20 |
| |
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
|
0 commit comments