1union-optional-discriminator.json: In union 'MyUnion':
2union-optional-discriminator.json:6: discriminator member 'switch' of base type 'Base' must not be optional
3