998399bcd8
Also EA-87648 Fixed
9 lines
238 B
Kotlin
Vendored
9 lines
238 B
Kotlin
Vendored
// "Change type arguments to <*, *>" "false"
|
|
// ACTION: Convert to expression body
|
|
|
|
class Constructor<out T>(val x: T)
|
|
|
|
fun y() : Constructor<*> = Constructor(42)
|
|
fun x(): (String) -> String {
|
|
return y() as<caret> (String) -> String
|
|
} |