[FIR] Report ASSIGNMENT_TYPE_MISMATCH on properties with numeric types
^KT-46047 ^KT-56951 Fixed
This commit is contained in:
committed by
Space Team
parent
f7733e819d
commit
71d6103122
+3
-3
@@ -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<!>
|
||||
|
||||
Reference in New Issue
Block a user