Change allConstants test
Currently, FIR compilation of `const val b: Byte = 50 + 50` shows an error, but old compiler doesn't (it shows only warning). Since this is an incremental test, it should not be affected by compiler errors, but should only test for .kt usage without recompilation. #KT-54991 In Progress
This commit is contained in:
committed by
Space Team
parent
a0fa438735
commit
090a58ccc4
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
const val i: Int = 1000000 + 1000000
|
||||
const val l: Long = 1000000000000L + 1000000000000L
|
||||
const val f: Float = 3.14f
|
||||
const val d: Double = 3.14
|
||||
const val bb: Boolean = true
|
||||
const val str: String = ":)"
|
||||
Reference in New Issue
Block a user