fix KT-9299 In a project with circular dependencies between modules, IDE reports error on use of internal class from another module, but the corresponding code still compiles and runs.
#KT-9299 Fixed
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
package a
|
||||
|
||||
@Target(AnnotationTarget.FILE)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
internal annotation class InternalFileAnnotation()
|
||||
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
internal annotation class InternalClassAnnotation()
|
||||
|
||||
class A
|
||||
|
||||
internal class InternalA
|
||||
|
||||
fun a() {
|
||||
}
|
||||
|
||||
internal fun internalA() {
|
||||
}
|
||||
Reference in New Issue
Block a user