class Box(t: T) { var value = t } fun box(): String { val box: Box = Box(1) return if (box.value == 1) "OK" else "fail" }