Quick-fix for DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE added #KT-15966 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Specify override for 'size: Int' explicitly" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
import java.util.*
|
||||
|
||||
class B(private val f: MutableList<String>): ArrayList<String>(), MutableList<String> by f {
|
||||
override fun isEmpty(): Boolean {
|
||||
return f.isEmpty()
|
||||
}
|
||||
|
||||
override val size: Int
|
||||
get() = f.size
|
||||
}
|
||||
Reference in New Issue
Block a user