Formatter: Fix spacing between '=' and '{' in property accessors
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user