mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 15:51:54 +00:00
Support any constant expressions as annotation arguments
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationWithStringConcatenationInParam {
|
||||
public @interface Anno {
|
||||
String value();
|
||||
}
|
||||
|
||||
@Anno("he" + "l" + "lo")
|
||||
public static class Class { }
|
||||
}
|
||||
Reference in New Issue
Block a user