diff options
author | Janek Bogucki <janekdb@gmail.com> | 2015-06-22 23:32:33 +0100 |
---|---|---|
committer | Janek Bogucki <janekdb@gmail.com> | 2015-06-22 23:32:33 +0100 |
commit | ada9fa0b91ddb64f6d15f7616b455247cbcf2243 (patch) | |
tree | 59e7e22f5f7c2b021ca42dc568d9cad8ce0b9875 /src/compiler/scala/tools/nsc/typechecker/Infer.scala | |
parent | 7f1336a2ffaf573dd71192932e7b599213e5a1d0 (diff) | |
download | scala-ada9fa0b91ddb64f6d15f7616b455247cbcf2243.tar.gz scala-ada9fa0b91ddb64f6d15f7616b455247cbcf2243.tar.bz2 scala-ada9fa0b91ddb64f6d15f7616b455247cbcf2243.zip |
Fix 25 typos (g-i)
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Infer.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Infer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala index f9582a54ff..ea0a9bb243 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala @@ -934,7 +934,7 @@ trait Infer extends Checkable { def infer_s = map3(tparams, tvars, targs)((tparam, tvar, targ) => s"$tparam=$tvar/$targ") mkString "," printTyping(tree, s"infer expr instance from pt=$pt, $infer_s") - // SI-7899 infering by-name types is unsound. The correct behaviour is conditional because the hole is + // SI-7899 inferring by-name types is unsound. The correct behaviour is conditional because the hole is // exploited in Scalaz (Free.scala), as seen in: run/t7899-regression. def dropByNameIfStrict(tp: Type): Type = if (settings.inferByName) tp else dropByName(tp) def targsStrict = if (targs eq null) null else targs mapConserve dropByNameIfStrict |