Files
kotlin/idea/testData/codeInsight/lineMarker/MethodSeparators.kt
Dmitry Jemerov 86c10b635a Initial implementation of method separators
#KT-13029 Fixed
2018-01-10 13:17:33 +01:00

38 lines
624 B
Kotlin
Vendored

// METHOD_SEPARATORS
class Foo {
object BarObj {
}
fun bar() {
}
<lineMarker descr="null">fun</lineMarker> baz() {
class FooLocal {
}
fun fooLocal() {
}
<lineMarker descr="null">fun</lineMarker> barLocal() {
}
val xLocal = run {
"x"
}
}
<lineMarker descr="null">val</lineMarker> x = 0
<lineMarker descr="null">val</lineMarker> y: Int
get() = 0
<lineMarker descr="null">val</lineMarker> z = run {
"abc"
}
<lineMarker descr="null">fun</lineMarker> quux() {}
fun xyzzy() {}
}