[NI] Use same ResolvedCall when run completion

It is necessary, because some clients store this ResolvedCall to other
places, for example for get call it stored to INDEXED_LVALUE_GET
This commit is contained in:
Stanislav Erokhin
2017-08-22 15:59:54 +03:00
parent 98eae4e7ee
commit 2ceb8cef36
8 changed files with 108 additions and 35 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
val targetNameLists: Map<String, String> = mapOf("1" to "OK")
fun <T> id(t: T) = t
fun foo(argumentName: String?): String? = id(targetNameLists[argumentName])
fun box() = foo("1")