www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11479] New: [REG 2.064] DDoc regression?

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

           Summary: [REG 2.064] DDoc regression?
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: dmitry.olsh gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh gmail.com> 2013-11-09
00:32:47 PST ---
std.regex DDocs suddenly shows tons of private stuff, see

http://dlang.org/phobos/std_regex.html#.kickstart

The relevant code part std.regex:2087. It's the same code as in 2.063. 
The first empty /// must have started to work funnily.

    ///

private:
    NamedGroup[] dict;  //maps name -> user group number
    uint ngroup;        //number of internal groups
    uint maxCounterDepth; //max depth of nested {n,m} repetitions
    uint hotspotTableSize; //number of entries in merge table
    uint threadCount;
    uint flags;         //global regex flags
    const(Trie)[]  tries; //
    uint[] backrefed; //bit array of backreferenced submatches
    Kickstart!Char kickstart;

    //bit access helper
    uint isBackref(uint n)
    {
        if(n/32 >= backrefed.length)
            return 0;
        return backrefed[n / 32] & (1 << (n & 31));
    }

    //check if searching is not needed
    void checkIfOneShot()
...

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 09 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11479



--- Comment #1 from github-bugzilla puremagic.com 2013-11-15 20:02:13 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/d11d14628aafa957e35ae5f1d59130c005b58bf6
fixup issue  11479 and enum --> auto in examples

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 15 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11479


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ddoc
           Severity|regression                  |major


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2013-11-28 22:03:17 PST ---
Test case:

///
struct S(T)
{
    ///

private:
    int x;
}

Generated html:

<dl><dt><big><a name="S"></a>struct <u>S</u>(T);
</big></dt>
<dd><br><br>
<dl><dt><big><a name="x"></a>int <u>x</u>;    // <--
</big></dt>
<dd><br><br>
</dd>
</dl>
</dd>
</dl>

This is a Ddoc generation bug in compiler, but it is not a dmd regression,
because old dmd (eg. 2.030) has same bug.

Downgrade importance to 'major'.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 28 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11479


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
            Summary|[REG 2.064] DDoc            |template members ignore
                   |regression?                 |private attribute in ddoc


--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2013-11-28 22:42:41 PST ---
https://github.com/D-Programming-Language/dmd/pull/2900

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 28 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11479



--- Comment #4 from github-bugzilla puremagic.com 2013-11-30 17:46:44 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/010b3c36cb0fd0cfacd787395047df5b09796944
fix Issue 11479 - template members ignore private attribute in ddoc

https://github.com/D-Programming-Language/dmd/commit/fdd7f926592184f874729e8bc120681a56b45b90
Merge pull request #2900 from 9rnsr/fix11479

Issue 11479 - template members ignore private attribute in ddoc

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 30 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11479


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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