"Convert property to function" intention should warn about the property overloads at child class constructor
#KT-29764 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// SHOULD_FAIL_WITH: Property overloaded in child class constructor
|
||||
package test
|
||||
|
||||
open class Parent() {
|
||||
open val <caret>o: String = ""
|
||||
}
|
||||
|
||||
class Child(override val o: String) : Parent()
|
||||
Reference in New Issue
Block a user