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



00:32:47 PST ---
std.regex DDocs suddenly shows tons of private stuff, see



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




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



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



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




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


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