Some tests for override action has been added.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
trait A<T> {
|
||||
fun foo(value : T) : Unit = println(value)
|
||||
}
|
||||
|
||||
class C : A<C> {
|
||||
|
||||
override fun foo(value : C) {
|
||||
super<A>.foo(value)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user