[TD] Update test data after previous commit

This commit is contained in:
Dmitriy Novozhilov
2020-12-15 12:58:53 +03:00
parent 49d9b85950
commit e1802fde29
306 changed files with 599 additions and 599 deletions
@@ -1,3 +1,3 @@
fun String.k(): () -> String = { -> this }
fun test() = "hello".k()()
fun test() = "hello".k()()
@@ -22,4 +22,4 @@ class Bar {
fun baz() {
x() // Should resolve to fun x()
}
}
}
@@ -16,4 +16,4 @@ class Foo {
val x: Bar = Bar()
fun bar() = x() // Should resolve to invoke (1)
}
}
@@ -8,4 +8,4 @@ class Foo {
val x = 0
fun foo() = x() // should resolve to invoke
}
}
@@ -7,4 +7,4 @@ class Y {
val x = X
x.op()
}
}
}
@@ -9,4 +9,4 @@ class Foo {
val x = 0
fun foo() = x() // should resolve to fun x
}
}
@@ -7,4 +7,4 @@ class A {
fun create() = A()
val foo = create()
val foo = create()
@@ -1,4 +1,4 @@
fun test(e: Int.() -> String) {
val s = 3.e()
val ss = 3.(e)()
}
}
@@ -7,4 +7,4 @@ fun sss() {
// Should be resolved to top-level some,
// because with local some invoke isn't applicable
some()
}
}
@@ -1,3 +1,3 @@
class Bar(name: () -> String) {
val name = name()
}
}
@@ -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()
}
}
@@ -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<!>()<!>
}
}