Create hack for exception about "Empty intersection for types".

Hackaround for KT-11266, EA-79963, EA-72093,  EA-79976.
This commit is contained in:
Stanislav Erokhin
2016-06-16 21:17:42 +03:00
parent 490ff621b6
commit 01430b4b99
5 changed files with 55 additions and 0 deletions
@@ -0,0 +1,2 @@
fun foo(first: Array<Any?>, second: Array<Any?>) = Pair(first.toCollection(<!NO_VALUE_FOR_PARAMETER!>)<!>, second.toCollection(<!NO_VALUE_FOR_PARAMETER!>)<!>)
@@ -0,0 +1,3 @@
package
public fun foo(/*0*/ first: kotlin.Array<kotlin.Any?>, /*1*/ second: kotlin.Array<kotlin.Any?>): kotlin.Pair<kotlin.collections.MutableCollection<kotlin.Any?>, kotlin.collections.MutableCollection<kotlin.Any?>>