IDE testdata: s/trait/interface
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
trait U: T
|
||||
interface U: T
|
||||
|
||||
fun test(t: T): Int {
|
||||
return if (t is U)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
trait U: T
|
||||
interface U: T
|
||||
|
||||
fun test(t: T): Int {
|
||||
val i = t.foo()
|
||||
|
||||
Reference in New Issue
Block a user