Skip to content

Commit

Permalink
Revert "Fix for SI-5452."
Browse files Browse the repository at this point in the history
This reverts commit 2b73191.
  • Loading branch information
paulp committed Feb 15, 2012
1 parent 9655faf commit 6543b2d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 38 deletions.
4 changes: 1 addition & 3 deletions src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
Expand Up @@ -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) = {
Expand Down
6 changes: 0 additions & 6 deletions test/files/neg/t5452.check

This file was deleted.

29 changes: 0 additions & 29 deletions test/files/neg/t5452.scala

This file was deleted.

0 comments on commit 6543b2d

Please sign in to comment.