www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2420] New: mixins are not considered in ddoc

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2420

           Summary: mixins are not considered in ddoc
           Product: D
           Version: 1.033
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: default_357-line yahoo.de


Consider the following code:

module test108;

// this works and shows up
/// Test 1
void test1() { }

// doesn't show up
mixin("/// Test 2");
void test2() { }

// doesn't show up either
mixin("/// Test 3
void test3() { }");

If this were fixed, documentation could be moved to an external text file and
handled via CTFE and import.


-- 
Oct 15 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2420


shro8822 vandals.uidaho.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shro8822 vandals.uidaho.edu




------- Comment #1 from shro8822 vandals.uidaho.edu  2008-10-15 16:46 -------

Vote++ 

I have s pile-o-code that would benefit from this as I am generating functions
an would like to be able to generate docs as well. 

(OT but it would be nice if decent also autocompleted for mixin() code)


-- 
Oct 15 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2420





------- Comment #2 from llucax gmail.com  2008-12-08 08:45 -------
This bug is very close to bug 648.


-- 
Dec 08 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2420


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc


--- Comment #3 from Brad Roberts <braddr puremagic.com> 2010-02-18 21:28:20 PST
---
*** Issue 3829 has been marked as a duplicate of this issue. ***

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