Launch ResolvedCallsTest with kotlin library
This commit is contained in:
@@ -8,6 +8,4 @@ fun bar(a: A, b: B) {
|
||||
with (a) {
|
||||
b.<caret>foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = receiver.f()
|
||||
}
|
||||
@@ -10,8 +10,6 @@ fun bar(a: A, b: B) {
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = receiver.f()
|
||||
|
||||
|
||||
Resolved call:
|
||||
|
||||
|
||||
+1
-3
@@ -10,6 +10,4 @@ fun bar(a: A, b: B) {
|
||||
<caret>foo()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = receiver.f()
|
||||
}
|
||||
-2
@@ -12,8 +12,6 @@ fun bar(a: A, b: B) {
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = receiver.f()
|
||||
|
||||
|
||||
Resolved call:
|
||||
|
||||
|
||||
@@ -6,6 +6,4 @@ fun bar(f: Foo, i: Int) {
|
||||
with (i) {
|
||||
f<caret>()
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = throw Exception()
|
||||
}
|
||||
@@ -8,8 +8,6 @@ fun bar(f: Foo, i: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = throw Exception()
|
||||
|
||||
|
||||
Resolved call:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user