| // RUN_PIPELINE_TILL: CODEGEN | |
| // FULL_JDK | |
| // ISSUE: KT-68677 | |
| // LANGUAGE: +StricterConstraintIncorporationRecursionDetector | |
| // FILE: enumMapWithPair.kt | |
| import java.util.* | |
| class CustomEnumMap<KK : Enum<KK>, VV> private constructor( | |
| private val enumMap: EnumMap<KK, VV> | |
| ) : Map<KK, VV> by enumMap { | |
| constructor(p: Pair<KK, VV>) : this(EnumMap(mapOf(p))) | |
| } | |
| fun <KKK, VVV> mapOf(p: Pair<KKK, VVV>): Map<KKK, VVV> = TODO() | |
| /* GENERATED_FIR_TAGS: classDeclaration, flexibleType, functionDeclaration, inheritanceDelegation, javaFunction, | |
| nullableType, primaryConstructor, propertyDeclaration, secondaryConstructor, typeConstraint, typeParameter */ |