Add tests for KT-12199 to prevent regression
#KT-12199 Obsolete
Original commit: 712b2c8117
This commit is contained in:
+12
-5
@@ -1,6 +1,4 @@
|
||||
// TODO uncomment annotations when KT-12199 will be fixed
|
||||
|
||||
//@file:InternalFileAnnotation1
|
||||
@file:InternalFileAnnotation1
|
||||
|
||||
package test2
|
||||
|
||||
@@ -8,13 +6,22 @@ import test1.*
|
||||
|
||||
internal class FromInternalClass1: InternalClass1()
|
||||
|
||||
//@InternalClassAnnotation
|
||||
class FromClassA1 : ClassA1(10)
|
||||
@InternalClassAnnotation1
|
||||
class FromClassA1 : ClassA1(10) {
|
||||
@InternalClassAnnotation1
|
||||
class Nested {
|
||||
@InternalFunctionAnnotation1
|
||||
fun foo() {}
|
||||
}
|
||||
}
|
||||
|
||||
class FromClassB1 : ClassB1() {
|
||||
internal override val member = 10
|
||||
}
|
||||
|
||||
@InternalFunctionAnnotation1
|
||||
fun foo() {}
|
||||
|
||||
fun box() {
|
||||
internalProp
|
||||
internalFun()
|
||||
|
||||
Reference in New Issue
Block a user