Approximate expected type before reporting INTEGER_OPERATOR_RESOLVE_WILL_CHANGE

^KT-47447 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-06-25 16:33:13 +03:00
committed by TeamCityServer
parent 5bfdd5be5f
commit 24bb9a4e14
7 changed files with 35 additions and 1 deletions
@@ -0,0 +1,6 @@
// FIR_IDENTICAL
// LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition
// ISSUE: KT-47447
// FULL_JDK
fun test()= java.util.Objects.requireNonNull(1 + 1)
@@ -0,0 +1,3 @@
package
public fun test(): kotlin.Int!