[FIR JS] KT-57200: Allow dynamic varargs
^KT-57200 Fixed
This commit is contained in:
committed by
Space Team
parent
5d664aac92
commit
b385d787cc
@@ -10,7 +10,7 @@ import org.jetbrains.kotlin.types.AbstractTypeChecker
|
||||
object ConeTypeIntersector {
|
||||
fun intersectTypes(
|
||||
context: ConeInferenceContext,
|
||||
types: List<ConeKotlinType>
|
||||
types: Collection<ConeKotlinType>
|
||||
): ConeKotlinType {
|
||||
when (types.size) {
|
||||
0 -> error("Expected some types")
|
||||
|
||||
Reference in New Issue
Block a user