d986e0ee9c
In this commit, tests where backend diagnostics were reported correctly are being moved. FirScopeDumpHandler was added to FIR diagnostic tests with JVM backend to support `SCOPE_DUMP` in `overridesBuiltinNoMagic.kt` and `charAtAndOverload.kt`.
11 lines
217 B
Kotlin
Vendored
11 lines
217 B
Kotlin
Vendored
// WITH_STDLIB
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
open class Base {
|
|
fun `foo$default`(i: Int, mask: Int, mh: Any) {}
|
|
}
|
|
|
|
object Derived : Base() {
|
|
@JvmStatic <!ACCIDENTAL_OVERRIDE!>fun foo(i: Int = 0) {}<!>
|
|
}
|