Apply indent of continuation call start to its children

#KT-15099 Fixed
This commit is contained in:
Dmitry Jemerov
2017-12-20 16:22:37 +01:00
parent 5652fa762f
commit fa19bd6d9b
5 changed files with 52 additions and 8 deletions
+8
View File
@@ -0,0 +1,8 @@
fun test() {
Single.just(Object())
.map {
it
}.map {
it // The code unexpectedly shifts to the left
}
}
+8
View File
@@ -0,0 +1,8 @@
fun test() {
Single.just(Object())
.map {
it
}.map {
it // The code unexpectedly shifts to the left
}
}
+5 -5
View File
@@ -1,6 +1,6 @@
val ret = (DB.Article innerJoin DB.Project).slice(DB.Article.project, DB.Article.project.count()).select {
filterBlogs(params)
}.groupBy(DB.Article.project).map {
val count = it[DB.Article.project.count()]
val project = it[DB.Article.team.count()]
}
filterBlogs(params)
}.groupBy(DB.Article.project).map {
val count = it[DB.Article.project.count()]
val project = it[DB.Article.team.count()]
}