IDE testdata: s/trait/interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
trait T
|
||||
interface T
|
||||
|
||||
fun foo() {
|
||||
val a = <selection>object: T {}</selection>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait T
|
||||
interface T
|
||||
|
||||
fun foo(t: T = object : T {}) {
|
||||
val a = t
|
||||
|
||||
Reference in New Issue
Block a user