Closed rsaarelm closed 7 months ago
The ({ })
syntax is straight up copied from gcc. That at least is intentional - blocks are not expressions.
Error fixed though:
auto result = argParser.parse(args).case(Error: { usage(); return exit(1); });
^ case expression expected
Crashes:
Works:
The first one should work like the second one does.