[TD] Update test data after previous commit
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun String.k(): () -> String = { -> this }
|
||||
|
||||
fun test() = "hello".k()()
|
||||
fun test() = "hello".k()()
|
||||
|
||||
+1
-1
@@ -22,4 +22,4 @@ class Bar {
|
||||
fun baz() {
|
||||
x() // Should resolve to fun x()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ class Foo {
|
||||
val x: Bar = Bar()
|
||||
|
||||
fun bar() = x() // Should resolve to invoke (1)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,4 +8,4 @@ class Foo {
|
||||
val x = 0
|
||||
|
||||
fun foo() = x() // should resolve to invoke
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ class Y {
|
||||
val x = X
|
||||
x.op()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,4 +9,4 @@ class Foo {
|
||||
val x = 0
|
||||
|
||||
fun foo() = x() // should resolve to fun x
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ class A {
|
||||
|
||||
fun create() = A()
|
||||
|
||||
val foo = create()
|
||||
val foo = create()
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
fun test(e: Int.() -> String) {
|
||||
val s = 3.e()
|
||||
val ss = 3.(e)()
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -7,4 +7,4 @@ fun sss() {
|
||||
// Should be resolved to top-level some,
|
||||
// because with local some invoke isn't applicable
|
||||
some()
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
class Bar(name: () -> String) {
|
||||
val name = name()
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -7,4 +7,4 @@ fun test(a: A) {
|
||||
}
|
||||
val c = a.y
|
||||
val d = "".c()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ class Simple {
|
||||
|
||||
fun test(s: Simple) {
|
||||
val result = s()
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,6 +17,6 @@ class Foo {
|
||||
// this@Foo is dispatch receiver of foobar
|
||||
// Foo/foobar is dispatch receiver of invoke
|
||||
// this@chk is extension receiver of invoke
|
||||
buz.<!UNRESOLVED_REFERENCE!>foobar<!>()
|
||||
buz.<!UNRESOLVED_REFERENCE{LT}!><!UNRESOLVED_REFERENCE{PSI}!>foobar<!>()<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user