mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 06:49:55 -04:00
This adds a feature to `union` which requires all the variants to have a `nil` value and on assign to the union, checks whether that value is `nil` or not. If the value is `nil`, the union will be `nil` (thus sharing the `nil` value)
5.9 KiB
5.9 KiB