Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/InFunInPropertyInObjectLiteral.kt
T
Nikolay Krasko 5cdd5f580d 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
2014-10-22 18:18:09 +04:00

8 lines
86 B
Kotlin

// FALSE
trait Some
fun test() {
val foo = object: Some {
<caret>
}
}