Reverted explicitly specifying visibility modifier while override
This commit is contained in:
@@ -3,7 +3,7 @@ package p
|
||||
class C(val y : Int) {
|
||||
val initChild = { ->
|
||||
object : java.lang.Object() {
|
||||
public override fun toString(): String {
|
||||
override fun toString(): String {
|
||||
return "child" + y
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user