Highlighting ranges should never include comments before/after element
This commit is contained in:
+2
-2
@@ -23,6 +23,6 @@ import p.*
|
||||
open class K0 : Foo()
|
||||
|
||||
class K : K0() {
|
||||
<!VIRTUAL_MEMBER_HIDDEN!>// We keep this test to make sure ACCIDENTAL_OVERRIDE is not reported
|
||||
fun <!CANNOT_WEAKEN_ACCESS_PRIVILEGE!>foo<!>(f: () -> Unit)<!> {}
|
||||
// We keep this test to make sure ACCIDENTAL_OVERRIDE is not reported
|
||||
<!VIRTUAL_MEMBER_HIDDEN!>fun <!CANNOT_WEAKEN_ACCESS_PRIVILEGE!>foo<!>(f: () -> Unit)<!> {}
|
||||
}
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
// FILE: a.kt
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>val x<!> = 1
|
||||
|
||||
// FILE: b.kt
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun getX()<!> = 1
|
||||
Reference in New Issue
Block a user