News for hackers. Stuff that matters.
Re:A Video Walkthrough of Swift Fundamentals by eridius on Friday January 23, 2015 @08:14PM (#8938419)
Enums and generics mix just fine in theory. Rust is a good example of this, with the `Result<T,E>` type. But at the moment in Swift if you try this you get "error: unimplemented IR generation feature non-fixed multi-payload enum layout". Presumably this will be supported at some point.

There are no comments on this comment yet.