diff options
author | Martin Odersky <odersky@gmail.com> | 2010-10-16 14:50:45 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-10-16 14:50:45 +0000 |
commit | 80dc8f4e275aa75f1fd6a2448cf7c47b90617bc5 (patch) | |
tree | ab95d5d8b69cd716f78aea133f0951218ae89a8b /src/compiler | |
parent | b525978a52a4ebf8ec32cae77fb2b0f579da667c (diff) | |
download | scala-80dc8f4e275aa75f1fd6a2448cf7c47b90617bc5.tar.gz scala-80dc8f4e275aa75f1fd6a2448cf7c47b90617bc5.tar.bz2 scala-80dc8f4e275aa75f1fd6a2448cf7c47b90617bc5.zip |
Small changes in layout and comments. no review.
Diffstat (limited to 'src/compiler')
-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 |