Zugriffsmodifizierer sind für Union-Fälle nicht zulässig. Verwenden Sie "type U = internal ." oder "type U = private .", ...