Optional default tag for union types #13
Labels
cat:lang
Category: Language design
cmp:compiler
Component: Compiler backend (e.g., annotation processors, code generators)
cmp:runtime
Component: Target runtimes
typ:enhance
Type: Enhancement/new feature
Milestone
If union types can set its default tag it would help backward compatibility e.g.:
The default tag is implicitly determined if the JSON object doesn’t have
"_tag"
field, which means the case a record type is refactored to a union type.default
keyword. (Optional default tag for union type #227)default
into docs/refactoring.md.The text was updated successfully, but these errors were encountered: