Generated constructors with default parameter values are marked with kotlin.jvm.overloads annotation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
import A.Nested
|
||||
|
||||
class A(nested: Nested = Nested(Nested.FIELD)) {
|
||||
class A [overloads] (nested: Nested = Nested(Nested.FIELD)) {
|
||||
|
||||
class Nested(p: Int) {
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user