Small changes to docs only. No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25118 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
odersky 2011-06-20 17:22:12 +00:00
parent 139ff44a69
commit 9ac29a997a
3 changed files with 11 additions and 11 deletions

View File

@ -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._

View File

@ -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)

View File

@ -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.