"trait" instead of "trait class"
virtual -> open "final" introduced "wraps" dropped
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace toplevelObjectDeclarations {
|
||||
open class Foo(y : Int) {
|
||||
virtual fun foo() : Int = 1
|
||||
open fun foo() : Int = 1
|
||||
}
|
||||
|
||||
class T : <error>Foo</error> {}
|
||||
|
||||
Reference in New Issue
Block a user