fa1c471d92
Redeclarations for top-level properties still get two REDECLARATION diagnostics. (In overload resolver and declaration resolver) Also added test for redeclaring extension properties. Also remove useless null check.
10 lines
109 B
Kotlin
10 lines
109 B
Kotlin
class A() {
|
|
val a: Int = 1
|
|
fun a(): Int = 2
|
|
}
|
|
|
|
class B() {
|
|
fun b(): Int = 2
|
|
val b: Int = 1
|
|
}
|