Summary: non-function opDispatch crashes dmd
           Product: D
           Version: future
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kazuhiro Inaba <> 2009-12-25 04:56:30 PST ---
class A {
    class opDispatch(string s) {
        class C {}

void main() {
    A.B.C obj; // crash

It seems that the current opDispatch is meaningful only when it is
used as a member function template. If it is the intention, then the
above use of opDispatch should be diagnosed as an error, not segv of dmd.

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

Reply via email to