diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-17 17:26:31 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-17 17:26:31 +0000 |
commit | fef6649b31d58e2cc239518cb031d39e1ac58b70 (patch) | |
tree | c06bdf3d28dc07b5c6e681d4c264be1e2cb22681 /src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala | |
parent | fa0f48a5dffacf5622d1d82ec12ef0c1930354bd (diff) | |
download | scala-fef6649b31d58e2cc239518cb031d39e1ac58b70.tar.gz scala-fef6649b31d58e2cc239518cb031d39e1ac58b70.tar.bz2 scala-fef6649b31d58e2cc239518cb031d39e1ac58b70.zip |
More work on error trees.
extempore can't live with that level of duplication. I eliminated
400 lines. I could eliminate more: there are distinctions which seem
unimportant, but I'm not sure so I left them in place. Example, is a
"ContextError" something meaningful other than "an error which one emits
by calling context.error"?
Review by plocinic.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala b/src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala index cef099e371..729bbf4557 100644 --- a/src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala +++ b/src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala @@ -457,7 +457,7 @@ trait NamesDefaults { self: Analyzer => // treat the arg as an assignment of type Unit Assign(a.lhs, rhs).setPos(arg.pos) } else { - UnknwonParameterNameNamesDefaultError(arg, name) + UnknownParameterNameNamesDefaultError(arg, name) } } else if (argPos contains pos) { DoubleParamNamesDefaultError(arg, name) |