default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -3,7 +3,7 @@ package foo
|
||||
native
|
||||
class A(val c: Int) {
|
||||
native
|
||||
default object {
|
||||
companion object {
|
||||
val g: Int = noImpl
|
||||
val c: String = noImpl
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ object Object {
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
@@ -109,7 +109,7 @@ object Object {
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
@@ -121,7 +121,7 @@ object Object {
|
||||
var b: String
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
@@ -145,7 +145,7 @@ class Class {
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
@@ -162,14 +162,14 @@ class Class {
|
||||
var b: String
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
}
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
native("aaa")
|
||||
val a: Trait = noImpl
|
||||
var b: String = noImpl
|
||||
@@ -190,7 +190,7 @@ trait Trait {
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
@@ -203,14 +203,14 @@ trait Trait {
|
||||
var b: String
|
||||
fun test(): Int = noImpl
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: String = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
}
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val a: Trait = noImpl
|
||||
var b: String = noImpl
|
||||
fun test(): Int = noImpl
|
||||
|
||||
@@ -24,7 +24,7 @@ fun Bar.test2(order: Int, dummy: Int, vararg args: Int): Boolean = noImpl
|
||||
native
|
||||
class Bar(val size: Int, order: Int = 0) {
|
||||
fun test(order: Int, dummy: Int, vararg args: Int): Boolean = noImpl
|
||||
default object {
|
||||
companion object {
|
||||
fun startNewTest(): Boolean = noImpl
|
||||
var hasOrderProblem: Boolean = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user