[NI] Record all diagnostics from subcalls resolution results

This commit is contained in:
Mikhail Zarechenskiy
2018-02-14 05:42:14 +03:00
parent 6a7a07bf9d
commit 3afd4a2f4a
9 changed files with 26 additions and 20 deletions
@@ -0,0 +1,7 @@
fun <T, U> T.map(f: (T) -> U) = f(this)
fun consume(<!UNUSED_PARAMETER!>s<!>: String) {}
fun test() {
consume(1.map(::<!UNRESOLVED_REFERENCE!>foo<!>))
}
@@ -0,0 +1,5 @@
package
public fun consume(/*0*/ s: kotlin.String): kotlin.Unit
public fun test(): kotlin.Unit
public fun </*0*/ T, /*1*/ U> T.map(/*0*/ f: (T) -> U): U