diff options
author | Martin Odersky <odersky@gmail.com> | 2011-06-20 17:22:12 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-06-20 17:22:12 +0000 |
commit | b054289bd78ca5d2175d78b6fa55595c9a622dd4 (patch) | |
tree | 3961895c7dc79c95e503b9a9adef3b2987d54f32 | |
parent | f57ac28712c013543a63990129cf7dd29edab7d9 (diff) | |
download | scala-b054289bd78ca5d2175d78b6fa55595c9a622dd4.tar.gz scala-b054289bd78ca5d2175d78b6fa55595c9a622dd4.tar.bz2 scala-b054289bd78ca5d2175d78b6fa55595c9a622dd4.zip |
Small changes to docs only. No review.
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/BrowsingLoaders.scala | 2 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Infer.scala | 14 | ||||
-rw-r--r-- | src/library/scala/collection/GenSeqLike.scala | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/BrowsingLoaders.scala b/src/compiler/scala/tools/nsc/symtab/BrowsingLoaders.scala index 4ebcda5730..13dba172db 100644 --- a/src/compiler/scala/tools/nsc/symtab/BrowsingLoaders.scala +++ b/src/compiler/scala/tools/nsc/symtab/BrowsingLoaders.scala @@ -11,7 +11,7 @@ import scala.tools.nsc.io.AbstractFile /** A subclass of SymbolLoaders that implements browsing behavior. * This class should be used whenever file dependencies and recompile sets - * are managed automoatically. + * are managed automatically. */ abstract class BrowsingLoaders extends SymbolLoaders { import global._ diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala index 03b90ab89c..b8dcadc090 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala @@ -1212,10 +1212,10 @@ trait Infer { /** Substitute free type variables <code>undetparams</code> of application * <code>fn(args)</code>, given prototype <code>pt</code>. * - * @param fn ... - * @param undetparams ... - * @param args ... - * @param pt ... + * @param fn fn: the function that needs to be instantiated. + * @param undetparams the parameters that need to be determined + * @param args the actional argumments in the call. + * @param pt the expected type of the function application * @return The type parameters that remain uninstantiated, * and that thus have not been substituted. */ @@ -1285,9 +1285,9 @@ trait Infer { /** Substitute free type variables <code>undetparams</code> of type constructor * <code>tree</code> in pattern, given prototype <code>pt</code>. * - * @param tree ... - * @param undetparams ... - * @param pt ... + * @param tree the constuctor that needs to be instantiated + * @param undetparams the undetermined type parameters + * @param pt the expected result type of the instance */ def inferConstructorInstance(tree: Tree, undetparams: List[Symbol], pt0: Type) { val pt = widen(pt0) diff --git a/src/library/scala/collection/GenSeqLike.scala b/src/library/scala/collection/GenSeqLike.scala index f5e8113d28..21620e131e 100644 --- a/src/library/scala/collection/GenSeqLike.scala +++ b/src/library/scala/collection/GenSeqLike.scala @@ -263,7 +263,7 @@ private[collection] trait GenSeqLike[+A, +Repr] extends GenIterableLike[A, Repr] */ def updated[B >: A, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Repr, B, That]): That - /** Prepends an element to this $coll + /** A copy of the $coll with an element prepended. * @param elem the prepended element * @tparam B the element type of the returned $coll. * @tparam That $thatinfo @@ -276,7 +276,7 @@ private[collection] trait GenSeqLike[+A, +Repr] extends GenIterableLike[A, Repr] */ def +:[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Repr, B, That]): That - /** Appends an element to this $coll + /** A copy of this $coll with an element appended. * $willNotTerminateInf * @param elem the appended element * @tparam B the element type of the returned $coll. @@ -290,7 +290,7 @@ private[collection] trait GenSeqLike[+A, +Repr] extends GenIterableLike[A, Repr] */ def :+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Repr, B, That]): That - /** Appends an element value to this $coll until a given target length is reached. + /** A copy of this $coll with an element value appended until a given target length is reached. * @param len the target length * @param elem the padding value * @tparam B the element type of the returned $coll. |