[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:
committed by
teamcity
parent
cc86ca2a0f
commit
52b72a7dac
@@ -45,6 +45,14 @@ interface ClassicTypeSystemContext : TypeSystemInferenceExtensionContext, TypeSy
|
||||
return this is IntegerLiteralTypeConstructor
|
||||
}
|
||||
|
||||
override fun TypeConstructorMarker.isIntegerLiteralConstantTypeConstructor(): Boolean {
|
||||
return isIntegerLiteralTypeConstructor()
|
||||
}
|
||||
|
||||
override fun TypeConstructorMarker.isIntegerConstantOperatorTypeConstructor(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
override fun TypeConstructorMarker.isLocalType(): Boolean {
|
||||
require(this is TypeConstructor, this::errorMessage)
|
||||
return declarationDescriptor?.classId?.isLocal == true
|
||||
|
||||
Reference in New Issue
Block a user