KT-650 Prohibit creating class without constructor
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
fun test() {
|
||||
A.x
|
||||
val b = object : Foo {
|
||||
val b = object : Foo() {
|
||||
}
|
||||
b.foo()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user