summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-04-30 20:00:39 +0000
committerPaul Phillips <paulp@improving.org>2011-04-30 20:00:39 +0000
commitacc5311c157358c99420ba5a8be4231ffae9fc8e (patch)
treec99d20bb582b9474bc7520a6afca7fb2f7cb6296 /src/compiler/scala/tools/nsc/typechecker
parent95ae7765e85fb7942ce8724170e72fa8c3076aa0 (diff)
downloadscala-acc5311c157358c99420ba5a8be4231ffae9fc8e.tar.gz
scala-acc5311c157358c99420ba5a8be4231ffae9fc8e.tar.bz2
scala-acc5311c157358c99420ba5a8be4231ffae9fc8e.zip
After having to update the code for someone els...
After having to update the code for someone else, ran damarau levenshtein on trunk again. Patchwise, I guess correcting spelling errors in comments is about as safe as it gets. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Implicits.scala2
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Infer.scala6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
index b2a4b34b32..53b4f0dac6 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
@@ -1117,7 +1117,7 @@ trait Implicits {
object ImplicitNotFoundMsg {
def unapply(sym: Symbol): Option[(Message)] = sym.implicitNotFoundMsg map (m => (new Message(sym, m)))
- // check the message's syntax: should be a string literal that may contain occurences of the string "${X}",
+ // check the message's syntax: should be a string literal that may contain occurrences of the string "${X}",
// where `X` refers to a type parameter of `sym`
def check(sym: Symbol): Option[String] =
sym.getAnnotation(ImplicitNotFoundClass).flatMap(_.stringArg(0) match {
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
index 0b1a9f6187..6c27bcace6 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
@@ -1066,7 +1066,7 @@ trait Infer {
}
errorMessages.toList
}
- /** Substitite free type variables `undetparams' of polymorphic argument
+ /** Substitute free type variables `undetparams' of polymorphic argument
* expression `tree', given two prototypes `strictPt', and `lenientPt'.
* `strictPt' is the first attempt prototype where type parameters
* are left unchanged. `lenientPt' is the fall-back prototype where type
@@ -1113,7 +1113,7 @@ trait Infer {
}
}
- /** Substitite free type variables `undetparams' of polymorphic argument
+ /** Substitute free type variables `undetparams' of polymorphic argument
* expression <code>tree</code> to `targs', Error if `targs' is null
*
* @param tree ...
@@ -1195,7 +1195,7 @@ trait Infer {
tp
}
- /** Substitite free type variables <code>undetparams</code> of type constructor
+ /** Substitute free type variables <code>undetparams</code> of type constructor
* <code>tree</code> in pattern, given prototype <code>pt</code>.
*
* @param tree ...