KT-650 Prohibit creating class without constructor
This commit is contained in:
@@ -2,7 +2,7 @@ open class Foo {
|
||||
fun xyzzy(): String = "xyzzy"
|
||||
}
|
||||
|
||||
class Bar(): Foo {
|
||||
class Bar(): Foo() {
|
||||
fun test(): String = xyzzy()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user