Initial implementation of method separators

#KT-13029 Fixed
This commit is contained in:
Dmitry Jemerov
2018-01-03 17:22:27 +01:00
parent fd01351740
commit 86c10b635a
5 changed files with 88 additions and 31 deletions
@@ -0,0 +1,37 @@
// 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() {}
}