aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-scala2/t2994.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos-scala2/t2994.scala')
-rw-r--r--tests/pos-scala2/t2994.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos-scala2/t2994.scala b/tests/pos-scala2/t2994.scala
index c7421c42a..f3009b12f 100644
--- a/tests/pos-scala2/t2994.scala
+++ b/tests/pos-scala2/t2994.scala
@@ -20,7 +20,7 @@ object Naturals {
// crashes scala-2.8.0 beta1
trait MUL[n <: NAT, m <: NAT] extends NAT {
- trait curry[n[_, _], s[_]] { type f[z <: NAT] = n[s, z] }
+ trait curry[n[_[_], _], s[_]] { type f[z <: NAT] = n[s, z] }
type a[s[_ <: NAT] <: NAT, z <: NAT] = n#a[curry[m#a, s]#f, z]
}