www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12264] New: [REG2.066a] A specialized alias parameter conflicts with the unspecialized one.

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

           Summary: [REG2.066a] A specialized alias parameter conflicts
                    with the unspecialized one.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          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> 2014-02-25 23:48:56 PST ---
Caused by fixing issue 12077.

Test case:

template X(alias T1)                      { pragma(msg, "1"); }
template X(alias T2 : B!A, alias B, A...) { pragma(msg, "2"); }

struct S(T) {}

void main()
{
    alias x3 = X!(S!int);
    // should prefer the second template
}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 25 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12264


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

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


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-02-25 23:53:48 PST ---
https://github.com/D-Programming-Language/dmd/pull/3339

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 25 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12264


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #2 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-26
10:12:14 EET ---
Looks related to issue 12261 and issue 12262. All three are affected by the
same change.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 26 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12264



--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2014-02-26 00:45:55 PST ---
(In reply to comment #2)
 Looks related to issue 12261 and issue 12262. All three are affected by the
 same change.

Issue 11261 is an intentional change. Issue 12262 is a regression, but is not same as this. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 26 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12264



--- Comment #4 from github-bugzilla puremagic.com 2014-02-26 23:44:29 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/eb6843cd24feeb95bfe76dc99a56bee83e3ca4a0
fix Issue 12264 - A specialized alias parameter conflicts with the
unspecialized one.

https://github.com/D-Programming-Language/dmd/commit/a18bf7618bb423bac8cde477dc18c7d160606555
Merge pull request #3339 from 9rnsr/fix12264

[REG2.066a] Issue 12264 - A specialized alias parameter conflicts with the
unspecialized one.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 26 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12264


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: -------
Feb 27 2014