Files
Nicklas Ansman Giertz dd051c1556 KAPT: Preserve the order of annotations in the stubs
Previously the annotations were included in reverse order. With this
change they are kept in the same order as in the source file.

This changes the test case for KT-23427 but that issue seems to relate
to annotation arguments that are missing, not the order of repeatable
annotations.

This fixes KT-51087
2023-01-11 22:01:22 +01:00

10 lines
241 B
Kotlin
Vendored

// EXPECTED_ERROR: This class does not have a constructor (1,2)
//import kotlin.jvm.JvmRepeatable
//@JvmRepeatable
annotation class Condition(val condition: String)
@Condition(condition = "value1")
@Condition(condition = "value2")
class A