Kapt: Annotations on enum constants are not kept on the generated stub (KT-21433)
This commit is contained in:
committed by
Yan Zhulanow
parent
c6f922fb64
commit
4c96453a4b
@@ -68,7 +68,9 @@ package test;
|
||||
@Anno(value = "enum")
|
||||
@kapt.internal.KaptMetadata()
|
||||
public enum Enum {
|
||||
@Anno(value = "white")
|
||||
/*public static final*/ WHITE /* = new Enum() */,
|
||||
@Anno(value = "black")
|
||||
/*public static final*/ BLACK /* = new Enum() */;
|
||||
private final int x = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user