Fix raw FIR building with parenthesized expression as selector
This commit is contained in:
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
fun test1(f: String.() -> Unit) {
|
||||
<!INAPPLICABLE_CANDIDATE!>(f)()<!>
|
||||
(<!INAPPLICABLE_CANDIDATE!>f<!>)()
|
||||
|
||||
<!INAPPLICABLE_CANDIDATE!>f<!>()
|
||||
}
|
||||
@@ -7,5 +7,5 @@ fun test1(f: String.() -> Unit) {
|
||||
fun test2(f: (Int) -> Int) {
|
||||
1.<!UNRESOLVED_REFERENCE!>f<!>(2)
|
||||
|
||||
2.<!UNRESOLVED_REFERENCE!>(f)(2)<!>
|
||||
2.(<!UNRESOLVED_REFERENCE!>f<!>)(2)
|
||||
}
|
||||
Vendored
+2
-2
@@ -6,8 +6,8 @@ fun test1() {
|
||||
}
|
||||
|
||||
fun test2(f: String.(Int) -> Unit) {
|
||||
11.<!UNRESOLVED_REFERENCE!>(f)(1)<!>
|
||||
11.<!UNRESOLVED_REFERENCE!>(f)()<!>
|
||||
11.(<!UNRESOLVED_REFERENCE!>f<!>)(1)
|
||||
11.(<!UNRESOLVED_REFERENCE!>f<!>)()
|
||||
}
|
||||
|
||||
fun test3() {
|
||||
|
||||
Reference in New Issue
Block a user