mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
193 B
Kotlin
11 lines
193 B
Kotlin
// "Make 'i' 'const'" "true"
|
|
// ERROR: Only 'const val' can be used in constant expressions
|
|
|
|
package constVal
|
|
|
|
const val i = 1
|
|
|
|
annotation class Fancy(val param: Int)
|
|
|
|
@Fancy(<caret>i) class D
|