mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
8 lines
118 B
Kotlin
8 lines
118 B
Kotlin
class E1: Exception()
|
|
|
|
trait Base<T> {
|
|
throws(javaClass<E1>())
|
|
fun one(t: T) {}
|
|
}
|
|
|
|
class Derived: Base<String> |