KT-650 Prohibit creating class without constructor
This commit is contained in:
@@ -3,7 +3,7 @@ package boundsWithSubstitutors
|
||||
open class A<T>
|
||||
class B<X : A<X>>()
|
||||
|
||||
class C : A<C>
|
||||
class C : A<C>()
|
||||
|
||||
val a = B<C>()
|
||||
val a1 = B<<!UPPER_BOUND_VIOLATED!>Int<!>>()
|
||||
|
||||
Reference in New Issue
Block a user