Group all call chain-related tests in a single directory

This commit is contained in:
Dmitry Jemerov
2018-02-04 10:36:42 +01:00
parent d7e5eb24ee
commit 2c88b26034
25 changed files with 102 additions and 84 deletions
+16
View File
@@ -0,0 +1,16 @@
val x = foo.bar().baz().quux()
val y = xyzzy(foo.bar().baz().quux())
fun foo() {
foo.bar().baz().quux()
z = foo.bar().baz().quux()
z += foo.bar().baz().quux()
return foo.bar().baz().quux()
}
// SET_INT: METHOD_CALL_CHAIN_WRAP = 2
// SET_FALSE: WRAP_FIRST_METHOD_IN_CALL_CHAIN