argparse
argparse copied to clipboard
A lazy string crashes the compiler
An example from the Readme, reduced:
import argparse;
struct T {
@(PositionalArgument(0).Description(() => "Argument description"))
string param0;
}
void main() {
CLI!T.parseArgs!((T t) { })(["-h"]); // SIGILL
}
DMD 2.105.3.