Sealed classes: extra java against kotlin tests, together with an implementation of Java diagnostics inside these tests
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
public sealed class Season {
|
||||
private constructor Season()
|
||||
|
||||
internal final class Cold : test.Season {
|
||||
public constructor Cold()
|
||||
}
|
||||
|
||||
internal final class Warm : test.Season {
|
||||
public constructor Warm()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user