71cc634a7c
The change in `FirPsiDiagnosticTestGenerated.Resolve#testCast` only highlights the existing problem that we don't assign a valid type to `_`. ^KT-58906 Fixed
8 lines
181 B
Kotlin
Vendored
8 lines
181 B
Kotlin
Vendored
val x = 1
|
|
val y = 2 as Any
|
|
|
|
val f = fun() = 3 as Any
|
|
val g = {}
|
|
val h: (String) -> Boolean = { _ -> false }
|
|
val hError = { <!VALUE_PARAMETER_WITH_NO_TYPE_ANNOTATION!>_<!> -> true }
|