http://d.puremagic.com/issues/show_bug.cgi?id=3647
Summary: non-function opDispatch crashes dmd Product: D Version: future Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k...@kmonos.net --- Comment #0 from Kazuhiro Inaba <k...@kmonos.net> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------