[Issue 3445] New: DDoc usually omits pure nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 27 02:06:03 PDT 2009


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: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at 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: -------


More information about the Digitalmars-d-bugs mailing list