Create actual fix: handle companions correctly #KT-21114 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class WithCompanion {
|
||||
companion object {
|
||||
fun foo()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
expect class WithCompanion {
|
||||
companion object {
|
||||
fun foo()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class <caret>WithCompanion {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class WithCompanion {
|
||||
actual companion object {
|
||||
actual fun foo() {}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user