mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -7,7 +7,7 @@ annotation class testAnnotation
|
||||
|
||||
class A {
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic testAnnotation fun test1() = b
|
||||
|
||||
@@ -2,7 +2,7 @@ import kotlin.platform.platformStatic
|
||||
|
||||
class A {
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic val c: String = "OK"
|
||||
|
||||
Reference in New Issue
Block a user