aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t0851.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t0851.scala')
-rw-r--r--tests/untried/pos/t0851.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/t0851.scala b/tests/untried/pos/t0851.scala
index fc7109dcd..fcfdba51e 100644
--- a/tests/untried/pos/t0851.scala
+++ b/tests/untried/pos/t0851.scala
@@ -5,7 +5,7 @@ object test1 {
def apply(t : T) = (s:T2) => f(t,s)
def apply(p : (T,T2)) = f(p._1,p._2)
}
- implicit def g[T](f : (T,String) => String) = Foo(f)
+ implicit def g[T](f : (T,String) => String): test.test1.Foo[T,String] = Foo(f)
def main(args : Array[String]) : Unit = {
val f = (x:Int,s:String) => s + x
println(f(1))