Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
allow implicit cast from union to its tag type #642
What is the end goal for this construct (union with exposed tag)? Is it some kind of object support?
Because I feel it is feasible to have typesafe union with simple syntax like: