Fix mapping for inline classes when JvmSuppressWildcards mode is using

#KT-28097 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2018-11-09 13:04:29 +03:00
parent 24f1db811a
commit 20ff74a726
8 changed files with 78 additions and 4 deletions
@@ -143,11 +143,13 @@ class TypeMappingMode private constructor(
fun createWithConstantDeclarationSiteWildcardsMode(
skipDeclarationSiteWildcards: Boolean,
isForAnnotationParameter: Boolean,
needInlineClassWrapping: Boolean,
fallbackMode: TypeMappingMode? = null
) = TypeMappingMode(
isForAnnotationParameter = isForAnnotationParameter,
skipDeclarationSiteWildcards = skipDeclarationSiteWildcards,
genericArgumentMode = fallbackMode
genericArgumentMode = fallbackMode,
needInlineClassWrapping = needInlineClassWrapping
)
}