"trait" instead of "trait class"
virtual -> open "final" introduced "wraps" dropped
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// Changed when traits were introduced. May not make sense any more
|
||||
|
||||
trait class Left {}
|
||||
trait Left {}
|
||||
open class Right() {
|
||||
virtual fun f() = 42
|
||||
open fun f() = 42
|
||||
}
|
||||
|
||||
class D() : Left, Right() {
|
||||
|
||||
Reference in New Issue
Block a user