c591601274
Unfortunately, the same testdata is used in IDE, so we should change
testdata in compiler repo and this will affect IDE repo.
This commit is the cherry-pick of commits from IDE repo:
- 4310d730795a53a Fix UltraLightClassLoadingTestGenerated.testEnums():
check by Java file as ULC produces a different but better result
Yan Zhulanow 3/17/21, 8:57 AM
- fbe3c8ba0841f2d4 Disable comparison test for
UltraLightClassSanityTestGenerated.
testAnnotatedPropertyWithSites() Yan Zhulanow 3/18/21, 1:33 PM
- 8fc53027343b5b53 Ignore known (for ages) broken behaviour
of LC Vladimir Dolzhenko 3/19/21, 11:17 PM
21 lines
655 B
Kotlin
Vendored
21 lines
655 B
Kotlin
Vendored
// Test
|
|
annotation class MyAnnotation
|
|
annotation class MyAnnotation2
|
|
annotation class MyAnnotation3
|
|
annotation class MyAnnotation4
|
|
annotation class MyAnnotation5
|
|
annotation class MyAnnotation6
|
|
@Target(AnnotationTarget.VALUE_PARAMETER)
|
|
@Retention(AnnotationRetention.RUNTIME)
|
|
annotation class MyAnnotation7
|
|
|
|
class Test(@get:MyAnnotation @set:MyAnnotation2 @setparam:MyAnnotation3 @property:MyAnnotation4 @field:MyAnnotation5 @param:MyAnnotation6 var bar: String) {
|
|
fun @receiver:MyAnnotation7 Int.fooF() = Unit
|
|
var @receiver:MyAnnotation7 Int.fooP
|
|
get() = Unit
|
|
set(value) {}
|
|
}
|
|
|
|
// FIR_COMPARISON
|
|
// SKIP_SANITY_TEST
|
|
// SKIP_IDE_TEST |