default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -3,7 +3,7 @@ public abstract class FList<T>() {
|
||||
public abstract val tail: FList<T>
|
||||
public abstract val empty: Boolean
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val emptyFList = object: FList<Any>() {
|
||||
public override val head: Any
|
||||
get() = throw UnsupportedOperationException();
|
||||
|
||||
Reference in New Issue
Block a user