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






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






This bug is very close to bug 648.


-- 
Dec 08 2008
prev sibling next 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



---
*** 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
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2420


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.033                       |D1 & D2
         OS/Version|Other                       |All
           Severity|minor                       |enhancement


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