jet.Any: modality and constructor straightened
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//KT-1249 IllegalStateException invoking function property
|
||||
class TestClass(val body : () -> Unit) : Any {
|
||||
class TestClass(val body : () -> Unit) : Any() {
|
||||
fun run() {
|
||||
body()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user