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

Original commit: 6ebe0c30ec
This commit is contained in:
Michael Nedzelsky
2015-10-06 16:23:37 +03:00
parent ef395369bf
commit 731268085f
21 changed files with 228 additions and 16 deletions
@@ -2,9 +2,18 @@ package test
internal open class InternalClass1
@Target(AnnotationTarget.FILE)
@Retention(AnnotationRetention.SOURCE)
internal annotation class InternalFileAnnotation()
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.SOURCE)
internal annotation class InternalClassAnnotation()
abstract class ClassA1(internal val member: Int)
abstract class ClassB1 {
internal abstract val member: Int
}
class ClassD: InternalClass2()