Index: test/splitting/invocations.stmt |
diff --git a/test/splitting/invocations.stmt b/test/splitting/invocations.stmt |
index 3d2a5032d43c525b6e9249a4827e1f3af5538758..e22e28307912dd0575938bd3d91aa6d4b57c7ee9 100644 |
--- a/test/splitting/invocations.stmt |
+++ b/test/splitting/invocations.stmt |
@@ -159,4 +159,34 @@ object |
?.method() |
.method() |
?.method() |
- .method(); |
+ .method(); |
+>>> index in property chain |
+someReceiverObject.property1.property2 |
+ .property3[0] |
+ .property4 |
+ .property5 |
+ .property6; |
+<<< |
+someReceiverObject |
+ .property1 |
+ .property2 |
+ .property3[0] |
+ .property4 |
+ .property5 |
+ .property6; |
+>>> chained indexes |
+someReceiverObject.property1.property2 |
+ .property3[argument] |
+ [argument][argument] |
+ .property4 |
+ .property5 |
+ .property6; |
+<<< |
+someReceiverObject |
+ .property1 |
+ .property2 |
+ .property3[argument][argument] |
+ [argument] |
+ .property4 |
+ .property5 |
+ .property6; |