default -> companion: replace all mentions of default and default object
This commit is contained in:
+2
-2
@@ -4,12 +4,12 @@
|
||||
package demo
|
||||
|
||||
class Foo {
|
||||
default object {
|
||||
companion object {
|
||||
class Bar() { }
|
||||
}
|
||||
}
|
||||
class User {
|
||||
fun main() : Unit {
|
||||
var <!UNUSED_VARIABLE!>boo<!> : Foo.Default.Bar? /* <-- this reference is red */ = Foo.Default.Bar()
|
||||
var <!UNUSED_VARIABLE!>boo<!> : Foo.Companion.Bar? /* <-- this reference is red */ = Foo.Companion.Bar()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user