// FIR_IDENTICAL //KT-3301 Inference with several supertypes fails package arrays interface A interface B object CAB : A, B object DAB : A, B fun m(args : Array) { } fun test122() { m(array(CAB, DAB)) // Wrong error here: Array is inferred while expected Array is satisfied } //from library fun array(vararg t: T): Array {}