Create From Usage: Fix StackOverflowException on recursive type parameter bounds
#EA-69240 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
class Cyclic<E : Cyclic<E>>
|
||||
|
||||
fun test() {
|
||||
val c : Cyclic<*> = <caret>foo
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
class Cyclic<E : Cyclic<E>>
|
||||
|
||||
fun test(foo: Cyclic<*>) {
|
||||
val c : Cyclic<*> = foo
|
||||
}
|
||||
Reference in New Issue
Block a user