diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-15 12:14:49 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-15 12:20:59 -0800 |
commit | 6543b2d983a4e44ad9bd2ea036d53ce52c37284c (patch) | |
tree | f33264ca9a5f0651de598ff5f8931338dc54e087 /src/compiler | |
parent | 9655fafbc89b650b92f239aa7f69df7a16e3542b (diff) | |
download | scala-6543b2d983a4e44ad9bd2ea036d53ce52c37284c.tar.gz scala-6543b2d983a4e44ad9bd2ea036d53ce52c37284c.tar.bz2 scala-6543b2d983a4e44ad9bd2ea036d53ce52c37284c.zip |
Revert "Fix for SI-5452."
This reverts commit 2b731911e97a281e324060099631e2374b2144ec.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala index 466b5125a8..6ee09d064f 100644 --- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala @@ -714,11 +714,9 @@ trait ContextErrors { setError(tree) } - def NoBestMethodAlternativeError(tree: Tree, argtpes: List[Type], pt: Type) = { + def NoBestMethodAlternativeError(tree: Tree, argtpes: List[Type], pt: Type) = issueNormalTypeError(tree, applyErrorMsg(tree, " cannot be applied to ", argtpes, pt)) - setError(tree) - } def AmbiguousMethodAlternativeError(tree: Tree, pre: Type, best: Symbol, firstCompeting: Symbol, argtpes: List[Type], pt: Type) = { |