Formatter: Fix spacing between '=' and '{' in property accessors

This commit is contained in:
Alexey Sedunov
2014-12-22 19:38:43 +03:00
parent e76792d4f2
commit 05a0481efa
7 changed files with 35 additions and 4 deletions
@@ -42,7 +42,23 @@ public var Int.extVar1: Int = 122
public
var
Int.extVar: Int = 1
//-----------------------
public var varWithAccessors1: Int
get() {
return 1
}
set (value: Int) {
/**/
}
public var varWithAccessors2: Int
get() {
1
}
set(value: Int) {
/**/
}
}
//-----------------------
annotation class A1
@@ -44,6 +44,20 @@ var
.
extVar : Int = 1
//-----------------------
public var varWithAccessors1:Int
get() { return 1 }
set (value : Int) { /**/ }
public var varWithAccessors2: Int
get() {
1
}
set(value: Int)
{
/**/
}
}
//-----------------------
annotation class A1
annotation class A2