Skip to content

Commit b6b1fb3

Browse files
committed
Fix a few Scaladoc warnings
1 parent 4489530 commit b6b1fb3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/dotty/tools/dotc/ast/Desugar.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,8 @@ object desugar {
598598
}
599599
}
600600

601-
/** Create tree for for-comprehension <for (enums) do body> or
602-
* <for (enums) yield body> where mapName and flatMapName are chosen
601+
/** Create tree for for-comprehension `<for (enums) do body>` or
602+
* `<for (enums) yield body>` where mapName and flatMapName are chosen
603603
* corresponding to whether this is a for-do or a for-yield.
604604
* The creation performs the following rewrite rules:
605605
*
@@ -638,7 +638,7 @@ object desugar {
638638
* TupleN(x_1, ..., x_N)
639639
* } ...)
640640
*
641-
* If any of the P_i are variable patterns, the corresponding `x_i @ P_i' is not generated
641+
* If any of the P_i are variable patterns, the corresponding `x_i @ P_i` is not generated
642642
* and the variable constituting P_i is used instead of x_i
643643
*
644644
* @param mapName The name to be used for maps (either map or foreach)

src/dotty/tools/dotc/core/tasty/TastyReader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import collection.mutable
1111
* and that supports reading and patching addresses represented as natural numbers.
1212
*
1313
* @param bytes The array containing data
14-
* @param from The position from which to read
14+
* @param start The position from which to read
1515
* @param end The position one greater than the last byte to be read
1616
* @param base The index referenced by the logical zero address Addr(0)
1717
*/

src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table) {
506506
}
507507

508508
/** Create symbols the longest consecutive sequence of parameters with given
509-
* `tag starting at current address.
509+
* `tag` starting at current address.
510510
*/
511511
def indexParams(tag: Int)(implicit ctx: Context) =
512512
while (nextByte == tag) createSymbol()

0 commit comments

Comments
 (0)