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:
@@ -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><!>
|
||||
Reference in New Issue
Block a user