aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-05-14 12:00:23 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-05-14 12:00:23 +1000
commitb6b1fb3e8234cb3df406b26e97c6f58ed77bfedc (patch)
treee4dca36352e4a1665bb044daf5b6e550c47ad1f5
parent448953056d695c5137b079bb66fc5c6f6cdb9e8a (diff)
downloaddotty-b6b1fb3e8234cb3df406b26e97c6f58ed77bfedc.tar.gz
dotty-b6b1fb3e8234cb3df406b26e97c6f58ed77bfedc.tar.bz2
dotty-b6b1fb3e8234cb3df406b26e97c6f58ed77bfedc.zip
Fix a few Scaladoc warnings
-rw-r--r--src/dotty/tools/dotc/ast/Desugar.scala6
-rw-r--r--src/dotty/tools/dotc/core/tasty/TastyReader.scala2
-rw-r--r--src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/dotty/tools/dotc/ast/Desugar.scala b/src/dotty/tools/dotc/ast/Desugar.scala
index 94b76c0a3..660a8dbcb 100644
--- a/src/dotty/tools/dotc/ast/Desugar.scala
+++ b/src/dotty/tools/dotc/ast/Desugar.scala
@@ -598,8 +598,8 @@ object desugar {
}
}
- /** Create tree for for-comprehension <for (enums) do body> or
- * <for (enums) yield body> where mapName and flatMapName are chosen
+ /** Create tree for for-comprehension `<for (enums) do body>` or
+ * `<for (enums) yield body>` where mapName and flatMapName are chosen
* corresponding to whether this is a for-do or a for-yield.
* The creation performs the following rewrite rules:
*
@@ -638,7 +638,7 @@ object desugar {
* TupleN(x_1, ..., x_N)
* } ...)
*
- * If any of the P_i are variable patterns, the corresponding `x_i @ P_i' is not generated
+ * If any of the P_i are variable patterns, the corresponding `x_i @ P_i` is not generated
* and the variable constituting P_i is used instead of x_i
*
* @param mapName The name to be used for maps (either map or foreach)
diff --git a/src/dotty/tools/dotc/core/tasty/TastyReader.scala b/src/dotty/tools/dotc/core/tasty/TastyReader.scala
index 311097148..c6a222d2b 100644
--- a/src/dotty/tools/dotc/core/tasty/TastyReader.scala
+++ b/src/dotty/tools/dotc/core/tasty/TastyReader.scala
@@ -11,7 +11,7 @@ import collection.mutable
* and that supports reading and patching addresses represented as natural numbers.
*
* @param bytes The array containing data
- * @param from The position from which to read
+ * @param start The position from which to read
* @param end The position one greater than the last byte to be read
* @param base The index referenced by the logical zero address Addr(0)
*/
diff --git a/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
index 9d2ac2f23..84d497b9c 100644
--- a/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
+++ b/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
@@ -506,7 +506,7 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table) {
}
/** Create symbols the longest consecutive sequence of parameters with given
- * `tag starting at current address.
+ * `tag` starting at current address.
*/
def indexParams(tag: Int)(implicit ctx: Context) =
while (nextByte == tag) createSymbol()