Thread overview
[Issue 9409] New: [2.062-alpha] Regression with $ inside of expression tuples
Jan 27, 2013
Dmitry Olshansky
Jan 27, 2013
Kenji Hara
Jan 27, 2013
Kenji Hara
Jan 27, 2013
Walter Bright
January 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9409

           Summary: [2.062-alpha] Regression with $ inside of expression
                    tuples
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dmitry.olsh@gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2013-01-26 23:56:46 PST ---
Courtesy of dustmite:

import std.typetuple;

template idxTypes(Prefix...)
{
TypeTuple!((Prefix[$-1])) idxTypes;
}

alias Types = idxTypes!(int);

Obviously this used to work.

git bisect says:

    commit: cd9ef35c402dbeb177343c7cea5b9ed4a5e6b94f
    Fix Issue 6408 - string[].init gives a wrong type

    Allow reinterpreting a slice or index expression as a dynamic array, static
array, or associative array

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9409


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-01-27 00:46:55 PST ---
https://github.com/D-Programming-Language/dmd/pull/1562

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9409


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |regression


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9409



--- Comment #2 from github-bugzilla@puremagic.com 2013-01-27 13:06:36 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/679a359204b9b55741f04111f82f9e51ed6b7a48 fix Issue 9409 - [2.062-alpha] Regression with $ inside of expression tuples

https://github.com/D-Programming-Language/dmd/commit/6b6230fa91b23d077e29ee8b28dc04edc2d5f08d Merge pull request #1562 from 9rnsr/fix9409

Issue 9409 - [2.062-alpha] Regression with $ inside of expression tuples

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9409


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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