Rewrite out-of-block modifier increment algorithm
1. Search the top-level function or property (only they can produce blocks that won't affect other declarations)
2. Check if current position is hidden by this declaration
O^2 behaviour is removed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// FALSE
|
||||
trait Some
|
||||
|
||||
fun test() {
|
||||
val foo = object: Some {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user