Force no line break after dot in chained calls

#KT-20362 Fixed
This commit is contained in:
Dmitry Jemerov
2017-12-20 16:34:59 +01:00
parent 06fa61bb6f
commit 5652fa762f
6 changed files with 35 additions and 16 deletions
+6
View File
@@ -0,0 +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()]
}
+8
View File
@@ -0,0 +1,8 @@
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()]
}
@@ -5,13 +5,9 @@ interface Test {
fun test(t: Test) {
t.foo()
t.
foo()
t.foo()
t.
foo()
t.foo()
t
@@ -24,13 +20,9 @@ fun test(t: Test) {
t?.foo()
t?.
foo()
t?.foo()
t?.
foo()
t?.foo()
t