[FIR] Implement DEFAULT_VALUE_NOT_ALLOWED_IN_OVERRIDE diagnostic
#KT-59409 Fixed
This commit is contained in:
committed by
Space Team
parent
d93ffe0aec
commit
53ff4584d4
-13
@@ -1,13 +0,0 @@
|
||||
open class A {
|
||||
open fun foo(a : Int) {}
|
||||
}
|
||||
|
||||
class C : A() {
|
||||
override fun foo(a : Int = 1) {
|
||||
}
|
||||
}
|
||||
|
||||
class D : A() {
|
||||
override fun foo(a : Int = 1) {
|
||||
}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
open class A {
|
||||
open fun foo(a : Int) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user