A cast to a class type is turned into a constructor of that type. For example: ``` obj = (Cast) o; ``` becomes: ``` self.obj = Cast(o) ``` However, with builtin types like `String`, this works fine.