diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/UnCurry.scala | 4 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/util/Position.scala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/UnCurry.scala b/src/compiler/scala/tools/nsc/transform/UnCurry.scala index 6532aaaa2d..e75a7f9580 100644 --- a/src/compiler/scala/tools/nsc/transform/UnCurry.scala +++ b/src/compiler/scala/tools/nsc/transform/UnCurry.scala @@ -9,7 +9,7 @@ package transform import symtab.Flags._ import scala.collection.{ mutable, immutable } -/*<export>*/ +/*<export> */ /** - uncurry all symbol and tree types (@see UnCurryPhase) * - for every curried parameter list: (ps_1) ... (ps_n) ==> (ps_1, ..., ps_n) * - for every curried application: f(args_1)...(args_n) ==> f(args_1, ..., args_n) @@ -33,7 +33,7 @@ import scala.collection.{ mutable, immutable } * - convert non-trivial catches in try statements to matches * - convert non-local returns to throws with enclosing try statements. */ -/*</export>*/ +/*</export> */ abstract class UnCurry extends InfoTransform with TypingTransformers { import global._ // the global environment import definitions._ // standard classes and methods diff --git a/src/compiler/scala/tools/nsc/util/Position.scala b/src/compiler/scala/tools/nsc/util/Position.scala index 31202eec8f..371387a120 100644 --- a/src/compiler/scala/tools/nsc/util/Position.scala +++ b/src/compiler/scala/tools/nsc/util/Position.scala @@ -132,7 +132,7 @@ trait Position { def focusEnd = this /** Does this position include the given position `pos`. - * This holds this is a range position and its range [start..end] + * This holds if this is a range position and its range [start..end] * is the same or covers the range of the given position. */ def includes(pos: Position) = false |