mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
Don't generate accessors for @JvmField properties in primary constructor
This commit is contained in:
6
compiler/testData/codegen/boxWithJava/jvmField/constructorProperty/Test.java
vendored
Normal file
6
compiler/testData/codegen/boxWithJava/jvmField/constructorProperty/Test.java
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
public class Test {
|
||||
public static String invokeMethodWithPublicField() {
|
||||
C c = new C("OK");
|
||||
return c.foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user