Logic of completing call rewritten in CallCompleter

Changed interface ResolutionResultsCache
This commit is contained in:
Svetlana Isakova
2014-05-20 18:42:10 +04:00
parent 06a257025f
commit 11fbe375fa
14 changed files with 419 additions and 583 deletions
@@ -9,9 +9,9 @@ class Foo {
}
fun main(args: Array<String>) {
<!TYPE_INFERENCE_TYPE_CONSTRUCTOR_MISMATCH!>with<!>("", {
<!TYPE_INFERENCE_TYPE_CONSTRUCTOR_MISMATCH!>with<!>("", <!TYPE_MISMATCH!>{
Foo.<!MISSING_RECEIVER, TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>findByName<!>("")
})
}<!>)
}
fun <T> with(t: T, f: T.() -> Unit) {}