[FIR] Report ASSIGNMENT_TYPE_MISMATCH on properties with numeric types

^KT-46047
^KT-56951 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-04-28 14:47:25 +03:00
committed by Space Team
parent f7733e819d
commit 71d6103122
16 changed files with 111 additions and 76 deletions
@@ -3,6 +3,6 @@ const val p2: Long = '\n'.code.toLong()
const val p3: Byte = '\n'.code.toByte()
const val p4: Short = '\n'.code.toShort()
const val e2: Long = '\n'.code
const val e3: Byte = '\n'.code
const val e4: Short = '\n'.code
const val e2: Long = <!INITIALIZER_TYPE_MISMATCH!>'\n'.code<!>
const val e3: Byte = <!INITIALIZER_TYPE_MISMATCH!>'\n'.code<!>
const val e4: Short = <!INITIALIZER_TYPE_MISMATCH!>'\n'.code<!>