JVM: no nullability annotations on private and synthetic fields
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// WITH_RUNTIME
|
||||
|
||||
class Example {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@kotlin.Metadata
|
||||
public final class Example {
|
||||
private field prop2: int
|
||||
private synthetic final @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
private synthetic final field prop: java.lang.String
|
||||
private field useSite2: int
|
||||
private synthetic final field useSite: int
|
||||
public method <init>(): void
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
@Target(AnnotationTarget.FIELD)
|
||||
annotation class Anno
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ public annotation class Anno
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class C {
|
||||
private final @Anno @org.jetbrains.annotations.NotNull field json: java.lang.String
|
||||
private final @Anno field json: java.lang.String
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public final method component1(): int
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
public final class LocalClassWithCapturedParamsKt$localCaptured$A {
|
||||
synthetic final field $z: int
|
||||
private final field x: int
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
private final field z: java.lang.String
|
||||
inner class LocalClassWithCapturedParamsKt$localCaptured$A
|
||||
public method <init>(p0: int, @Simple @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final method getX(): int
|
||||
|
||||
Reference in New Issue
Block a user