[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
enum class E {
|
||||
ENTRY;
|
||||
|
||||
fun getDeclaringClass() {}
|
||||
fun finalize() {}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
// KT-7174 Report error on members with the same signature as non-overridable methods from mapped Java types (like Object.wait/notify)
|
||||
|
||||
class A {
|
||||
fun notify() {}
|
||||
fun notifyAll() {}
|
||||
fun wait() {}
|
||||
fun wait(l: Long) {}
|
||||
fun wait(l: Long, i: Int) {}
|
||||
fun getClass(): Class<Any> = null!!
|
||||
}
|
||||
|
||||
fun notify() {}
|
||||
fun notifyAll() {}
|
||||
fun wait() {}
|
||||
fun wait(l: Long) {}
|
||||
fun wait(l: Long, i: Int) {}
|
||||
fun getClass(): Class<Any> = null!!
|
||||
Reference in New Issue
Block a user