On 4/9/2019 7:43 AM, foo wrote:
> How would I get this to work:
Nested functions:
void bar() {
throw new Exception("This should only be fatal when the version is not
'foo'.");
}
version (foo) {
try { bar(); }
catch (Exception e) {
import std.stdio;
writeln(e);
}
}
else
bar();