default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// "Import" "true"
|
||||
// ERROR: Please specify constructor invocation; classifier 'ArrayList' does not have a default object
|
||||
// ERROR: Please specify constructor invocation; classifier 'ArrayList' does not have a companion object
|
||||
|
||||
// KT-4000
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Import" "true"
|
||||
// ERROR: Please specify constructor invocation; classifier 'ArrayList' does not have a default object
|
||||
// ERROR: Please specify constructor invocation; classifier 'ArrayList' does not have a companion object
|
||||
|
||||
// KT-4000
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package some
|
||||
|
||||
public class Some {
|
||||
default object {
|
||||
companion object {
|
||||
public fun test() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user