KT-3150 Kotlin m4 don't recognize function literals
#KT-3150 fixed added check for PLACEHOLDER_FUNCTION_TYPE to constraint system
This commit is contained in:
@@ -8,7 +8,7 @@ public inline fun <T: Closeable, R> T.use1(block: (T)-> R) : R {
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
C().<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>use1<!> {
|
||||
C().use1 {
|
||||
w -> // ERROR here
|
||||
<!UNRESOLVED_REFERENCE!>x<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user