Add actual: handle primary & secondary constructors as compatible
So #KT-23686 Fixed
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class My(a: Int, b: String) {
|
||||
fun test()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class My(a: Int, b: String) {
|
||||
fun test()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class <caret>My {
|
||||
actual constructor(a: Int, b: String)
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class My {
|
||||
actual constructor(a: Int, b: String)
|
||||
|
||||
actual fun test() {}
|
||||
}
|
||||
Reference in New Issue
Block a user