Completion: add tests for case with overloaded function with lambda with receiver parameter

Relates to #KT-31073
This commit is contained in:
Dmitry Gridin
2019-09-23 23:20:26 +07:00
parent e3ce799993
commit 5dddc464a5
6 changed files with 60 additions and 0 deletions
@@ -0,0 +1,10 @@
package foo
fun <R> bar(block: () -> R): R = TODO()
fun <T, R> T.bar(block: T.() -> R): R = TODO()
class X {
val b = ba<caret>
}
// TAIL_TEXT: " {...} (block: () -> R) (foo)"