mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Check for syntax/diagnostic errors in some tests
This commit is contained in:
@@ -4,5 +4,5 @@ trait B {
|
||||
fun foo(kotlinName: Int)
|
||||
}
|
||||
|
||||
class ZAB : A, B
|
||||
class ZBA : B, A
|
||||
abstract class ZAB : A, B
|
||||
abstract class ZBA : B, A
|
||||
|
||||
@@ -10,12 +10,12 @@ internal trait B {
|
||||
internal abstract fun foo(/*0*/ kotlinName: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class ZAB : test.A, test.B {
|
||||
internal abstract class ZAB : test.A, test.B {
|
||||
public constructor ZAB()
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(/*0*/ kotlinName: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class ZBA : test.B, test.A {
|
||||
internal abstract class ZBA : test.B, test.A {
|
||||
public constructor ZBA()
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(/*0*/ kotlinName: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
class K1 : J() {
|
||||
override fun foo(l: MutableList<String>): String
|
||||
}
|
||||
override fun foo(l: MutableList<String>): String = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user