07ff53d456
otherwise I have to rollback dozens of files after using sed that follows conventions
23 lines
368 B
Plaintext
23 lines
368 B
Plaintext
abstract enum class ProtocolState {
|
|
WAITING {
|
|
override fun signal() = ProtocolState.TALKING
|
|
}
|
|
|
|
TALKING {
|
|
override fun signal() = ProtocolState.WAITING
|
|
}
|
|
|
|
abstract fun signal() : ProtocolState
|
|
}
|
|
|
|
enum class Foo<T> {
|
|
<!NO_GENERICS_IN_SUPERTYPE_SPECIFIER!>X<!>
|
|
|
|
}
|
|
|
|
|
|
|
|
fun box() {
|
|
val <!UNUSED_VARIABLE!>x<!>: ProtocolState = ProtocolState.WAITING
|
|
}
|