J2K: all annotations should be with "@"
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// ERROR: Body is not allowed for annotation class
|
||||
// ERROR: Modifier 'companion' is not applicable inside 'annotation class'
|
||||
annotation internal class Anon(val value: String) {
|
||||
internal annotation class Anon(val value: String) {
|
||||
|
||||
enum class E {
|
||||
A, B
|
||||
@@ -12,7 +12,7 @@ annotation internal class Anon(val value: String) {
|
||||
}
|
||||
}
|
||||
|
||||
Anon("a")
|
||||
@Anon("a")
|
||||
internal interface I {
|
||||
companion object {
|
||||
val e: Anon.E = Anon.field
|
||||
|
||||
Reference in New Issue
Block a user