090a58ccc4
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
9 lines
188 B
Kotlin
Vendored
9 lines
188 B
Kotlin
Vendored
package test
|
|
|
|
const val i: Int = 2000000
|
|
const val l: Long = 2000000000000L
|
|
const val f: Float = 3.14f
|
|
const val d: Double = 3.14
|
|
const val bb: Boolean = true
|
|
const val str: String = ":)"
|