[FIR] Properly pass type attributes for inference of lambda with type variable as expected type
#KT-41989 Fixed #KT-37317 Fixed
This commit is contained in:
+2
-2
@@ -22,9 +22,9 @@ class D {
|
||||
|
||||
fun main() {
|
||||
val x1: String.() -> String = if (true) {
|
||||
{ <!NO_THIS!>this<!> }
|
||||
{ this }
|
||||
} else {
|
||||
{ <!NO_THIS!>this<!> }
|
||||
{ this }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user