Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/cycleAnnotationOnReceiverParameterFunction.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

7 lines
166 B
Kotlin
Vendored

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