[FE] Drop ApproximateIntegerLiteralTypesInReceiverPosition language feature
This feature is not needed because it is unconditionally disabled for K1 (because of not fully correct implementation) and unconditionally enabled in K2 (K2 does not support old behavior) ^KT-38895
This commit is contained in:
committed by
Space Team
parent
26ff806440
commit
3cffb33ab7
@@ -1,6 +1,5 @@
|
||||
// LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// For reasons this test is ignored, go to KT-46419
|
||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||
|
||||
val a: Byte = 1 + 10
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// For reasons this test is ignored, go to KT-46419
|
||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||
|
||||
val a: Short = 1 + 255
|
||||
|
||||
|
||||
Reference in New Issue
Block a user