Introduce "add missing actual members" quick-fix #KT-18449 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
1b0421d27b
commit
739b21f519
@@ -0,0 +1,7 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class WithPrimaryConstructor(x: Int, s: String) {
|
||||
fun bar(x: String)
|
||||
|
||||
val z: Double
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class WithPrimaryConstructor(x: Int, s: String) {
|
||||
fun bar(x: String)
|
||||
|
||||
val z: Double
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class <caret>WithPrimaryConstructor {
|
||||
fun bar(x: String) {}
|
||||
|
||||
val z: Double = 3.14
|
||||
}
|
||||
Vendored
+8
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user