aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/Desugar.scala
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 /src/dotty/tools/dotc/ast/Desugar.scala
parent448953056d695c5137b079bb66fc5c6f6cdb9e8a (diff)
downloaddotty-b6b1fb3e8234cb3df406b26e97c6f58ed77bfedc.tar.gz
dotty-b6b1fb3e8234cb3df406b26e97c6f58ed77bfedc.tar.bz2
dotty-b6b1fb3e8234cb3df406b26e97c6f58ed77bfedc.zip
Fix a few Scaladoc warnings
Diffstat (limited to 'src/dotty/tools/dotc/ast/Desugar.scala')
-rw-r--r--src/dotty/tools/dotc/ast/Desugar.scala6
1 files changed, 3 insertions, 3 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)