[KAPT4] KT-62097 Keep import statements for unresolved annotation classes

This commit is contained in:
strangepleasures
2023-10-20 08:33:17 +00:00
committed by Space Team
parent 731a1dd98d
commit 6a2cea8a8e
7 changed files with 75 additions and 0 deletions
@@ -0,0 +1,22 @@
import com.example.Unresolved1;
import org.example.*;
import org.another.*;
/**
* public final class C : kotlin/Any {
*
* // signature: <init>()V
* public constructor()
*
* // module name: main
* }
*/
@kotlin.Metadata()
@Unresolved1()
@Unresolved2()
public final class C {
public C() {
super();
}
}
@@ -0,0 +1,12 @@
// CORRECT_ERROR_TYPES
// EXPECTED_ERROR: (kotlin:10:1) cannot find symbol
@file:Suppress("UNRESOLVED_REFERENCE")
import com.example.Unresolved1
import org.example.*
import org.another.*
@Unresolved1
@Unresolved2
class C
@@ -0,0 +1,22 @@
import com.example.Unresolved1;
import org.example.*;
import org.another.*;
@Unresolved1()
@Unresolved2()
/**
* public final class C : kotlin/Any {
*
* // signature: <init>()V
* public constructor()
*
* // module name: main
* }
*/
@kotlin.Metadata()
public final class C {
public C() {
super();
}
}