Open bubnenkoff opened 7 years ago
Thank you for the link, and opening this issue!
This kind of thing is definitely on our radar, but we're currently working on making all the pieces work smoothly on all platforms at the moment (an example: we need to add exception support to LLVM on Windows!) so this kind of thing is probably going to wait until a 'version 2' or so. Until then, I guess we'll muddle through with good ol' switch statements.
Some arguments about Rust-like pattern-matching http://forum.dlang.org/thread/rpalctkbnxqgxkccahaq@forum.dlang.org