``` class SomeFun : () -> Unit, Serializable { ...
# android
t
Copy code
class SomeFun : () -> Unit, Serializable {
  override fun invoke() {
    //do something
  }
}
tried to pass this in a Bundle and, predictably, it exploded 😆