Thread overview
[Issue 9885] New: IFTI should consider known tuple types.
Apr 05, 2013
Kenji Hara
Apr 05, 2013
Kenji Hara
Apr 06, 2013
Walter Bright
Apr 07, 2013
Kenji Hara
April 05, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9885

           Summary: IFTI should consider known tuple types.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: pull, rejects-valid
          Severity: normal
          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-04-05 11:16:47 PDT ---
On the constructor call, T is a known tuple type.
It should be considered in IFTI.

struct Tuple(T...)
{
    this()(T values) {}
}
void main()
{
    alias T = Tuple!(int[1][]);
    auto t = T([[10]]);
}

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |9431


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-05 11:20:59 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1847

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



--- Comment #2 from github-bugzilla@puremagic.com 2013-04-06 13:00:30 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/374ff5e5b961f57b6964f62375315bf0ac1f863a fix Issue 9885 - IFTI should consider known tuple types

https://github.com/D-Programming-Language/dmd/commit/2b88974f7ff127de02ae6a21dec5ebd08774ff5b Merge pull request #1847 from 9rnsr/fix9885

Issue 9885 - IFTI should consider known tuple types

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


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: -------
April 07, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9885


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbejeap@mailinator.com


--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-07 02:19:48 PDT ---
*** Issue 9894 has been marked as a duplicate of this issue. ***

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