class Box(val value: T) fun box() : String { val b = Box(-1) val expected: Long? = -1L return if (b.value == expected) "OK" else "fail" }