Files
kotlin/idea/testData/codeInsight/outOfBlock/InGlobalPropertyWithGetter.kt
Nikolay Krasko d1e6a61197 Fix testInGlobalPropertyWithGetter test in 173 branch
Workaround for IDEA-185462. It was introduced in 173 idea and
fixed in 181.
2018-02-03 00:15:45 +03:00

11 lines
225 B
Kotlin
Vendored

// FALSE
// Important for 173 branch! OOCB is TRUE in this test because of IDEA-185462
class B(val a: A)
val B.foo: Int
get() {
return <caret>when (a) {
A.e1 -> 1
A.e2 -> 4
}
}