In the following example, the mehod should be marked with the override keyword in trait
TT
but it doesn't work.trait T {
def meth: Int
}
trait TT {
this: T =>
def meth = 0
}
Leave a comment
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|