Thread overview
[Issue 5197] New: Ddoc: access-attributed auto template function crashes dmd
Nov 10, 2010
Kazuhiro Inaba
Jan 20, 2011
Walter Bright
Jan 20, 2011
Don
November 10, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5197

           Summary: Ddoc: access-attributed auto template function crashes
                    dmd
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: kiki@kmonos.net


--- Comment #0 from Kazuhiro Inaba <kiki@kmonos.net> 2010-11-10 04:02:06 PST ---
Trying to generate documents from the following source code

> cat test.d
/// doc comment
public auto f()(){}
> dmd -D test.d

crashed dmd. (I tested with dmd 2.050 on Windows).
- CRASH: protected auto f()(){}
- CRASH: private auto f()(){}
- CRASH: export auto f()(){}
- SAFE: auto f(){}
- SAFE: public void f()(){}
- SAFE: public auto f(){}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5197


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2011-01-19 23:55:44 PST ---
http://www.dsource.org/projects/dmd/changeset/884

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5197


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@metalanguage.com


--- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com> 2011-01-20 00:15:50 PST ---
Unfortunately, that still doesn't make auto function documentable; they simply vanish from the html.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5197


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ddoc, ice-on-valid-code
                 CC|                            |clugdbug@yahoo.com.au


--- Comment #3 from Don <clugdbug@yahoo.com.au> 2011-01-20 04:58:58 PST ---
(In reply to comment #2)
> Unfortunately, that still doesn't make auto function documentable; they simply vanish from the html.

Yes, but that's bug 2581, which is different from this crashing bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------