Summary: void functions passed to getopt die
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos

--- Comment #0 from Bernard Helyer <> 2012-02-16 
14:36:29 PST ---
import std.getopt;

void usage() {}

void main(string[] args)
    getopt(args, "help", {usage();});

This works in 2.057 and Andrei believes it is intended to work.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to