diff options
Diffstat (limited to 'test/files/run/overloads.scala')
-rw-r--r-- | test/files/run/overloads.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/overloads.scala b/test/files/run/overloads.scala index 31664b2ea6..882f510a3d 100644 --- a/test/files/run/overloads.scala +++ b/test/files/run/overloads.scala @@ -24,11 +24,11 @@ object Funcs { object M1 { def f[A](x: A) = 11; - def f[A <: Ordered[A]](x: A) = 12; + def f[A <: Ordered[A]](x: Ordered[A]) = 12; } object M2 { - def f[A <: Ordered[A]](x: A) = 21; + def f[A <: Ordered[A]](x: Ordered[A]) = 21; def f[A](x: A) = 22; } |