[FIR] Implement Int -> Long conversions for literals and operators over them

^KT-38895
^KT-50996 Fixed
^KT-51000 Fixed
^KT-51003 Fixed
^KT-51018 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-01-25 12:41:04 +03:00
committed by teamcity
parent cc86ca2a0f
commit 52b72a7dac
98 changed files with 1318 additions and 232 deletions
@@ -1,5 +1,5 @@
KT element: KtBinaryExpression
FIR element: FirFunctionCallImpl
FIR element: FirIntegerLiteralOperatorCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@@ -1,5 +1,5 @@
KT element: KtParenthesizedExpression
FIR element: FirFunctionCallImpl
FIR element: FirIntegerLiteralOperatorCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@@ -1,6 +1,6 @@
KT element: KtBlockStringTemplateEntry
FIR element: FirFunctionCallImpl
FIR element: FirIntegerLiteralOperatorCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1).R|kotlin/Int.plus|(Int(2))
Int(1).R|kotlin/Int.plus|(Int(2))