IDE testdata: s/trait/interface
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
|
||||
trait A
|
||||
interface A
|
||||
|
||||
fun test(): A = <caret>Foo(2, "2")
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
|
||||
trait A
|
||||
interface A
|
||||
|
||||
fun test(): A = Foo(2, "2")
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
fun test(): T = J.Foo(2, "2")
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
trait T
|
||||
interface T
|
||||
|
||||
fun test(): T = J.<caret>Foo(2, "2")
|
||||
Reference in New Issue
Block a user