mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
More validation checks for field annotations
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
public class ExplicitFieldGettersAndSetters {
|
||||
@KotlinSignature("var foo: String get() { return \"hello\" }")
|
||||
public String foo;
|
||||
}
|
||||
Reference in New Issue
Block a user