Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/cycleAnnotationOnFunction.kt
T
Dmitrii Gridin f124ba627d [FIR] implicit type: avoid redundant property and function transformations
This is a contract violation – we can touch only bodies during this phase

^KT-56551
2023-10-06 14:13:37 +00:00

8 lines
236 B
Kotlin
Vendored

// FIR_IDENTICAL
package myPack
annotation class Anno(val number: Int)
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>function(42)<!>)
fun function(@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>function(24)<!>) param: Int = function(0)) = 1