Exception fix: diagnose an error for a generic type which is a subtype of itself, a set of tests #EA-64453 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// !DIAGNOSTICS: -MUST_BE_INITIALIZED
|
||||
fun <T: <!CYCLIC_GENERIC_UPPER_BOUND!>T<!>> foo() {}
|
||||
val <T: <!CYCLIC_GENERIC_UPPER_BOUND!>T?<!>> prop: T
|
||||
Reference in New Issue
Block a user