Setup spacing rules for primary ctor's parts
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
class A1()
|
||||
|
||||
class A2 private ()
|
||||
class A3 private [ann] protected ()
|
||||
class A4 private [ann1] protected [ann2] () {
|
||||
|
||||
}
|
||||
|
||||
class A5 private [ann]
|
||||
|
||||
()
|
||||
|
||||
class A6 /* faddf */ private ()
|
||||
|
||||
class A7
|
||||
private
|
||||
[ann]
|
||||
()
|
||||
|
||||
class A8 // eol comment
|
||||
private
|
||||
[ann]
|
||||
()
|
||||
|
||||
class A9 // eol comment
|
||||
private // eol comment
|
||||
[ann] // eol comment
|
||||
()
|
||||
@@ -0,0 +1,27 @@
|
||||
class A1 ()
|
||||
|
||||
class A2 private ()
|
||||
class A3 private [ann] protected()
|
||||
class A4 private [ann1] protected [ann2] () {
|
||||
|
||||
}
|
||||
class A5 private [ann]
|
||||
|
||||
()
|
||||
|
||||
class A6 /* faddf */ private ()
|
||||
|
||||
class A7
|
||||
private
|
||||
[ann]
|
||||
()
|
||||
|
||||
class A8 // eol comment
|
||||
private
|
||||
[ann]
|
||||
()
|
||||
|
||||
class A9 // eol comment
|
||||
private // eol comment
|
||||
[ann] // eol comment
|
||||
()
|
||||
@@ -1,6 +1,6 @@
|
||||
open class C0(val x: Any?) {}
|
||||
|
||||
open class C1 (var _x1: Int = 1, _x2: Float?, val _x3: ((Int) -> Int)?) : C0(_x3){
|
||||
open class C1 (var _x1: Int = 1, _x2: Float?, val _x3: ((Int) -> Int)?) : C0(_x3){
|
||||
fun bar() {
|
||||
val y1 = _x1;
|
||||
val y2 = _x2;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
open class C0<X>(val x: X) {}
|
||||
|
||||
open class C1<T: Any> (var _x1: T? = null, _x2: Double?, val _x3: ((Int) -> Int)?) : C0<((Int) -> Int)?>(_x3){
|
||||
open class C1<T: Any> (var _x1: T? = null, _x2: Double?, val _x3: ((Int) -> Int)?) : C0<((Int) -> Int)?>(_x3){
|
||||
fun bar() {
|
||||
val y1 = _x1;
|
||||
val y2 = _x2;
|
||||
|
||||
Reference in New Issue
Block a user