FIR2IR: properly set constant expression type
This commit is contained in:
committed by
Space Team
parent
09175c7d56
commit
71456c5514
+2
-1
@@ -215,7 +215,8 @@ internal open class FirElementsRecorder : FirVisitor<Unit, MutableMap<KtElement,
|
||||
return buildConstExpression(
|
||||
original.ktConstantExpression?.toKtPsiSourceElement(),
|
||||
this,
|
||||
convertedValue as T
|
||||
convertedValue as T,
|
||||
setType = false
|
||||
).also {
|
||||
it.replaceTypeRef(original.typeRef)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user