KAPT: Skip importing java.lang.System in the stubs
This fixes KT-43117
This commit is contained in:
committed by
Alexander Udalov
parent
b009ee3744
commit
22ab43838b
@@ -7,8 +7,6 @@ public final class NonExistentClass {
|
||||
|
||||
package test;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
/**
|
||||
* KDoc comment.
|
||||
*/
|
||||
@@ -33,8 +31,6 @@ public final class Simple {
|
||||
|
||||
package test;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@kotlin.Metadata()
|
||||
public abstract @interface MyAnnotation {
|
||||
@@ -44,8 +40,6 @@ public abstract @interface MyAnnotation {
|
||||
|
||||
package test;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@kotlin.Metadata()
|
||||
public enum EnumClass {
|
||||
/*public static final*/ BLACK /* = new BLACK() */,
|
||||
@@ -59,8 +53,6 @@ public enum EnumClass {
|
||||
|
||||
package test;
|
||||
|
||||
import java.lang.System;
|
||||
|
||||
@kotlin.Metadata()
|
||||
public enum EnumClass2 {
|
||||
/*public static final*/ WHITE /* = new WHITE(null) */,
|
||||
|
||||
Reference in New Issue
Block a user