mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Synthetic classes created for enum entries
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@interface Foo {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.lang.annotation.*
|
||||
|
||||
Foo class Bar
|
||||
|
||||
fun box(): String {
|
||||
Bar()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user