mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
trait Bbb
|
||||
interface Bbb
|
||||
|
||||
class ClassObjectextendsTrait {
|
||||
companion object : Bbb {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
trait Bbb<P>
|
||||
interface Bbb<P>
|
||||
|
||||
class ClassObjectExtendsTraitWithTP {
|
||||
companion object : Bbb<String> {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
trait T {
|
||||
interface T {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
trait Test {
|
||||
interface Test {
|
||||
|
||||
companion object {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user