[FE] Add test for compiling against library with kotlin sealed classes and interfaces
#KT-20423 #KT-13495
This commit is contained in:
committed by
TeamCityServer
parent
7897bb6adb
commit
c0a1aecf9b
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
interface IA : IBase
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
sealed class B : Base(), IBase {
|
||||
class First : B()
|
||||
class Second : B()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
sealed interface IBase
|
||||
|
||||
sealed class Base
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
enum class C : IBase {
|
||||
SomeValue, AnotherValue
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
object D : Base(), IBase
|
||||
Reference in New Issue
Block a user