Tests: extract addMissingActualMembers from multiModuleQuickFix/other

This commit is contained in:
Dmitry Gridin
2019-09-25 15:35:32 +07:00
parent a552f06526
commit fcaa897b9f
49 changed files with 73 additions and 60 deletions
@@ -0,0 +1,7 @@
// DISABLE-ERRORS
expect class WithPrimaryConstructor(x: Int, s: String) {
fun bar(x: String)
val z: Double
}
@@ -0,0 +1,7 @@
// DISABLE-ERRORS
expect class WithPrimaryConstructor(x: Int, s: String) {
fun bar(x: String)
val z: Double
}
@@ -0,0 +1,8 @@
// "Add missing actual members" "true"
// DISABLE-ERRORS
actual class <caret>WithPrimaryConstructor {
fun bar(x: String) {}
val z: Double = 3.14
}
@@ -0,0 +1,8 @@
// "Add missing actual members" "true"
// DISABLE-ERRORS
actual class WithPrimaryConstructor actual constructor(x: Int, s: String) {
fun bar(x: String) {}
val z: Double = 3.14
}