Summary: Tidier function types
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-07-28 15:30:47 PDT ---
This is a valid D2 code (dmd 2.047):

import std.stdio;
void main() {
    string a();

Allowing/keeping ugly and error-prone function literals in D2 is bad. It's
better for D2 to keep/allow only _one_ standard, clean and readable syntax for
functions pointers (and one for delegates, if necessary). Keeping C function
pointer syntax or something similar in D2 causes troubles.

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

Reply via email to