Pass languageVersionSettings to AbstractTypeApproximator
This commit is contained in:
committed by
TeamCityServer
parent
59372fd15f
commit
e74a0c7ef7
+2
-1
@@ -199,7 +199,8 @@ internal fun KotlinType.toPsiType(lightDeclaration: PsiModifierListOwner?, conte
|
||||
|
||||
val signatureWriter = BothSignatureWriter(BothSignatureWriter.Mode.TYPE)
|
||||
val typeMappingMode = if (boxed) TypeMappingMode.GENERIC_ARGUMENT_UAST else TypeMappingMode.DEFAULT_UAST
|
||||
val approximatedType = TypeApproximator(this.builtIns).approximateDeclarationType(this, true, languageVersionSettings)
|
||||
val approximatedType =
|
||||
TypeApproximator(this.builtIns, languageVersionSettings).approximateDeclarationType(this, true)
|
||||
typeMapper.mapType(approximatedType, signatureWriter, typeMappingMode)
|
||||
|
||||
val signature = StringCharacterIterator(signatureWriter.toString())
|
||||
|
||||
Reference in New Issue
Block a user