Commit 1922c0f
authored
In #23755, a `consume` method now implies an `update` method.
This PR changes the rendering in scaladoc to avoid printing `consume
update def` and rather print `consume def`.
Note that at the moment, in #23755, writing `consume update def` or
`consume def` has the same effect.
An error or a warning might be added in the feature to highlight that
`update` in `consume update def` is a redundant modifier.
[skip ci]
File tree
1 file changed
+4
-3
lines changed- scaladoc/src/dotty/tools/scaladoc/tasty
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments