Support accessing fields of unions
It seems like it should be feasible to allow accessing the fields of unions, at least for reading. It's a reasonably common question (at least, I've seen it a few times) from beginners why the fields of Gdk.Event
aren't accessible in JS.