From 80dc8f4e275aa75f1fd6a2448cf7c47b90617bc5 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 16 Oct 2010 14:50:45 +0000 Subject: Small changes in layout and comments. no review. --- src/compiler/scala/tools/nsc/transform/UnCurry.scala | 4 ++-- 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 } -/**/ +/* */ /** - 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. */ -/**/ +/* */ 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 -- cgit v1.2.3