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,5 @@
|
||||
// !DIAGNOSTICS: -MUST_BE_INITIALIZED_OR_BE_ABSTRACT
|
||||
class My {
|
||||
fun <T: <!CYCLIC_GENERIC_UPPER_BOUND!>T?<!>> foo() {}
|
||||
val <T: <!CYCLIC_GENERIC_UPPER_BOUND!>T?<!>> prop: T
|
||||
}
|
||||
Reference in New Issue
Block a user