// "Create class 'Foo'" "true" fun test() { val a = Foo(2, "2") { (p: Int) -> p + 1 } } class Foo(i: Int, s: String, function: Function1) { }