default -> companion: replace all mentions of default and default object
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
class Test(val prop: String) {
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
public val prop : String = "CO";
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class Test {
|
||||
|
||||
public val prop: Int by TestDelegate({10})
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
public var prop: Int by TestDelegate({10})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class Test {
|
||||
|
||||
public var prop: String = ""
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
public var prop: Int by TestDelegate({10})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ class Test {
|
||||
|
||||
public var prop: Int = 0;
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
public val prop: Int = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user