Updating java to kotlin convert to new language syntax
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
import A.Nested
|
||||
|
||||
class A [jvmOverloads] (nested: Nested = Nested(Nested.FIELD)) {
|
||||
class A @jvmOverloads constructor(nested: Nested = Nested(Nested.FIELD)) {
|
||||
|
||||
class Nested(p: Int) {
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user