"Make private" intention: fix some false positive cases
This commit is contained in:
committed by
Mikhail Glukhikh
parent
7488056249
commit
061aa63a73
@@ -0,0 +1,11 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
// IS_APPLICABLE: false
|
||||
expect class C {
|
||||
fun test()
|
||||
}
|
||||
|
||||
<caret>actual class C {
|
||||
actual fun test() {}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
// IS_APPLICABLE: false
|
||||
expect class C {
|
||||
fun test()
|
||||
}
|
||||
|
||||
actual class C {
|
||||
<caret>actual fun test() {}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
// IS_APPLICABLE: false
|
||||
<caret>expect class C {
|
||||
fun test()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
// IS_APPLICABLE: false
|
||||
expect class C {
|
||||
<caret>fun test()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
annotation class Ann(va<caret>l x: Int)
|
||||
@@ -0,0 +1,4 @@
|
||||
// IS_APPLICABLE: false
|
||||
interface Interface {
|
||||
<caret>val x: String
|
||||
}
|
||||
Reference in New Issue
Block a user