Minor. Rename diagnostic tests: multiDeclarations -> destructuringDeclarations

This commit is contained in:
Denis Zharkov
2016-09-15 14:07:37 +03:00
parent 3df3187e25
commit ace3655824
25 changed files with 81 additions and 81 deletions
@@ -0,0 +1,16 @@
package test
fun a(s: String) { // <- ERROR
val (x, y) = Pair("", s)
println(x + y)
}
fun b(s: String) {
val x = Pair("", s)
println(x)
}
//from library
data class Pair<A, B>(val a: A, val b: B)
fun println(a: Any?) = a