Create expected quick-fix: check types accessibility before creation
Related to KT-27075
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
expect class Some {
|
||||
companion object {
|
||||
fun createMe(): Some
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class <caret>Some {
|
||||
actual companion object {
|
||||
actual fun createMe() = Some()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual class <caret>Some {
|
||||
actual companion object {
|
||||
actual fun createMe() = Some()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user