[FIR/AA decompiler] Add tests for sealed interfaces
^KT-62895
This commit is contained in:
committed by
Space Team
parent
7c8aff963f
commit
5797b4877c
@@ -0,0 +1,17 @@
|
||||
public final class Inheritor2 : R|test/SealedInterface| {
|
||||
public constructor(): R|test/Inheritor2|
|
||||
|
||||
}
|
||||
|
||||
public final class Inheritor3 : R|test/SealedInterface| {
|
||||
public constructor(): R|test/Inheritor3|
|
||||
|
||||
}
|
||||
|
||||
public sealed interface SealedInterface : R|kotlin/Any| {
|
||||
public final class Inheritor1 : R|test/SealedInterface| {
|
||||
public constructor(): R|test/SealedInterface.Inheritor1|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
class Inheritor3 : SealedInterface
|
||||
|
||||
sealed interface SealedInterface {
|
||||
class Inheritor1 : SealedInterface
|
||||
}
|
||||
|
||||
class Inheritor2 : SealedInterface
|
||||
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
public final class Inheritor2 : test.SealedInterface {
|
||||
/*primary*/ public constructor Inheritor2()
|
||||
}
|
||||
|
||||
public final class Inheritor3 : test.SealedInterface {
|
||||
/*primary*/ public constructor Inheritor3()
|
||||
}
|
||||
|
||||
public sealed interface SealedInterface {
|
||||
|
||||
public final class Inheritor1 : test.SealedInterface {
|
||||
/*primary*/ public constructor Inheritor1()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user