[FIR] Don't create ILT for integer literal if its value don't fit to Int type
This commit is contained in:
committed by
teamcity
parent
10c38ba47c
commit
bb5217be72
@@ -175,7 +175,7 @@ fun <T : ConeKotlinType> T.withNullability(
|
||||
ConeNullability.NULLABLE -> original.withNullability(nullability, typeContext)
|
||||
ConeNullability.UNKNOWN -> original.withNullability(nullability, typeContext)
|
||||
}
|
||||
is ConeIntegerLiteralType -> ConeIntegerLiteralTypeImpl(value, isUnsigned, nullability)
|
||||
is ConeIntegerLiteralTypeImpl -> ConeIntegerLiteralTypeImpl(value, possibleTypes, isUnsigned, nullability)
|
||||
else -> error("sealed: ${this::class}")
|
||||
} as T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user