www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11121] New: Wrong parenthesis omission in ddoc output

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

           Summary: Wrong parenthesis omission in ddoc output
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic, wrong-code
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: k.hara.pg gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2013-09-24 23:37:00 PDT ---
Source:
template Foo(T) if (Bar!(const T)) {}     ///
template Foo(T) if (Bar!(const int)) {}   ///

Generated wrong Ddoc output:
template Foo(T) if (Bar!const(T))
template Foo(T) if (Bar!const(int))

Introduced by:
https://github.com/D-Programming-Language/dmd/commit/905c4dd8e6a0377c518cce443f63a237df39ac7d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 24 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11121


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-09-24 23:42:30 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2588

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 24 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11121



--- Comment #2 from github-bugzilla puremagic.com 2013-09-25 02:59:03 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/201f23c5c4273c4ee6e1df3abccad3e8edb21dbf
fix Issue 11121 - Wrong parenthesis omission in ddoc output

https://github.com/D-Programming-Language/dmd/commit/da3d2e6e8c9b03b55709d0723f34828af60786c8
Merge pull request #2588 from 9rnsr/fix11121

[REG2.064a] Issue 11121 - Wrong parenthesis omission in ddoc output

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 25 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11121


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


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