compiler testdata: s/trait/interface
This commit is contained in:
@@ -3,7 +3,7 @@ package test
|
||||
class E1: Exception()
|
||||
class E2: Exception()
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
throws()
|
||||
fun none()
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
class E1: Exception()
|
||||
|
||||
trait Base<T> {
|
||||
interface Base<T> {
|
||||
throws(E1::class)
|
||||
fun one(t: T) {}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package test
|
||||
class E1: Exception()
|
||||
class E2: Exception()
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
throws()
|
||||
fun none() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user