mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
11 lines
345 B
Java
11 lines
345 B
Java
package test;
|
|
|
|
import jet.runtime.typeinfo.KotlinSignature;
|
|
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public class ExplicitFieldGettersAndSetters {
|
|
@ExpectLoadError("Field annotation for shouldn't have getters and setters")
|
|
@KotlinSignature("var foo: String get() { return \"hello\" }")
|
|
public String foo;
|
|
}
|