Let the user know that class object bounds are not supported

KT-4080 Code analisys show all good, but got compile error

#KT-4080 Fixed
This commit is contained in:
Andrey Breslav
2013-10-15 14:41:45 +04:00
parent 6154464050
commit f05f3f5686
7 changed files with 30 additions and 19 deletions
@@ -0,0 +1,2 @@
class C<T> where <!UNSUPPORTED!>class object T: Any<!>
fun f<T>() where <!UNSUPPORTED!>class object T: Any<!> {}
@@ -1 +1 @@
class CO<T> where class object T : CO<T>
class CO<T> where <!UNSUPPORTED!>class object T : CO<T><!>