http://d.puremagic.com/issues/show_bug.cgi?id=3445

           Summary: DDoc usually omits pure nothrow
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2009-10-27 02:06:02 PDT ---
Test cases. In all cases except the last one, 'pure' is not present in the
generated docs. Interestingly, in bar4() the 'pure' attribute is moved to the
front in the docs.

/** aa */
class Foo(T) {
/** xx */
  pure void bar() {}
}
pure nothrow {
/** yy */
int bar2(int x) { return x; }
}
/** zz */
pure int bar3() { return 0; }

/** qq */
int bar4() pure { return bar3();} // works

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

Reply via email to