KT-1575 Can't define a fix-point generic type

#KT-1575 Fixed
This commit is contained in:
Andrey Breslav
2012-05-03 14:43:37 +04:00
parent 3bdc3167e8
commit 47934b1fe7
4 changed files with 38 additions and 10 deletions
@@ -0,0 +1 @@
class C<T : C<T>>
@@ -0,0 +1 @@
class CO<T> where class object T : CO<T>
@@ -0,0 +1,2 @@
class C<T>
fun <T : C<T>> foo() {}