diff options
author | Martin Odersky <odersky@gmail.com> | 2010-04-23 12:34:44 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-04-23 12:34:44 +0000 |
commit | 42ebea46c7e27430131cebe8169955d34571e681 (patch) | |
tree | 11a8013382a9164442fa33995e3aef59f470159e /src | |
parent | 618b55fa8e1185eec27b93b5451d0331901828a2 (diff) | |
download | scala-42ebea46c7e27430131cebe8169955d34571e681.tar.gz scala-42ebea46c7e27430131cebe8169955d34571e681.tar.bz2 scala-42ebea46c7e27430131cebe8169955d34571e681.zip |
Fixed typo in error message. No review.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index 0311d3e53c..1a3f270c9a 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -2313,7 +2313,7 @@ trait Typers { self: Analyzer => val (allArgs, missing) = addDefaults(args, qual, targs, previousArgss, params, fun.pos.focus, context) if (allArgs.length == formals.length) { // useful when a default doesn't match parameter type, e.g. def f[T](x:T="a"); f[Int]() - context.diagnostic = "Error occured in an application involving default arguments." :: context.diagnostic + context.diagnostic = "Error occurred in an application involving default arguments." :: context.diagnostic doTypedApply(tree, if (blockIsEmpty) fun else fun1, allArgs, mode, pt) } else { tryTupleApply.getOrElse { |