"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,6 @@
|
||||
// "Convert property to function" "true"
|
||||
// SHOULD_FAIL_WITH: Property has an actual declaration in the class constructor
|
||||
|
||||
expect class Main {
|
||||
val name<caret>: String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
actual class Main(
|
||||
actual val name: String
|
||||
)
|
||||
Reference in New Issue
Block a user