[FE 1.0] Disable INTEGER_OPERATOR_RESOLVE_WILL_CHANGE warning by default
Also remove sinceVersion parameter from ApproximateIntegerLiteralTypesInReceiverPosition language feature ^KT-48992 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
212c3e8d51
commit
7917e511ed
+1
-1
@@ -8,6 +8,6 @@ annotation class Ann(
|
||||
val l: Long
|
||||
)
|
||||
|
||||
@Ann(<!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 + 1<!>, <!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 + 1<!>, 1 + 1, <!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 + 1<!>) class MyClass
|
||||
@Ann(1 + 1, 1 + 1, 1 + 1, 1 + 1) class MyClass
|
||||
|
||||
// EXPECTED: @Ann(b = 2.toByte(), i = 2, l = 2.toLong(), s = 2.toShort())
|
||||
|
||||
Reference in New Issue
Block a user