jet.Any: modality and constructor straightened

This commit is contained in:
Andrey Breslav
2012-06-26 18:52:32 +02:00
parent ee1f1f3d56
commit ac06825f08
6 changed files with 47 additions and 29 deletions
@@ -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()
}