Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
HEAD
/
.
/
compiler
/
testData
/
compileJavaAgainstKotlin
/
sealed
/
Derived.kt
blob: fd7f8ac81fe0a4fd2a66391924924374f5d924da [
file
]
// FILE: Derived.java
package
test
;
// It's not possible to inherit from Season (it's sealed in Kotlin)
public
class
Derived
extends
Season
{
}
// FILE: Derived.kt
package
test
public
sealed
class
Season
{
class
Warm
:
Season
()
class
Cold
:
Season
()
}