Implement option for wrapping assignment statements

#KT-21718 Fixed
This commit is contained in:
Dmitry Jemerov
2017-12-08 14:07:21 +01:00
parent 947833cad6
commit ab99bf843a
5 changed files with 53 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
val x =
1
fun foo() {
val y =
2
y =
3
}
// SET_INT: ASSIGNMENT_WRAP = 2
+8
View File
@@ -0,0 +1,8 @@
val x = 1
fun foo() {
val y = 2
y = 3
}
// SET_INT: ASSIGNMENT_WRAP = 2