"Convert property to function" intention should warn about the property overloads at child class constructor

#KT-29764 Fixed
This commit is contained in:
Dmitry Gridin
2019-04-02 18:11:41 +07:00
parent c8ea62a0d9
commit 3ca1c7b55d
6 changed files with 37 additions and 4 deletions
@@ -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
)