3 ms·
The Swift compiler bugs mostly have to do with the fact that it segfaults when it encounters recursive `enum`s and `struct`s. I wrote what the code ought to loo
by tel 12y ago
The Swift compiler bugs mostly have to do with the fact that it segfaults when it encounters recursive `enum`s and `struct`s. I wrote what the code ought to look like alongside the "fixed" bits, so perhaps that'll help make it more clear.
And as far as the compsci kung fu goes—I'll admit this probably isn't the best intro to it all. It's nice that Swift gives leverage to pull these kinds of gymnastics off, though.