Thread overview
[Issue 7569] New: cannot void initialize tuple declarations
Feb 24, 2012
dawg@dawgfoto.de
Feb 18, 2013
Andrej Mitrovic
Feb 19, 2013
Kenji Hara
February 24, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7569

           Summary: cannot void initialize tuple declarations
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@dawgfoto.de 2012-02-23 18:24:37 PST ---
cat > bug.d << CODE
template Tuple(T...)
{
    alias T Tuple;
}

void main()
{
    Tuple!(int, int) tup = void;
}
CODE

dmd -c bug
bug.d(8): Error: void initializer has no value

--------

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid
                 CC|                            |andrej.mitrovich@gmail.com
         AssignedTo|nobody@puremagic.com        |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-17 20:32:29 PST ---
https://github.com/D-Programming-Language/dmd/pull/1674

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



--- Comment #2 from github-bugzilla@puremagic.com 2013-02-18 22:02:12 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2e30442d5d2513231ab7aec637b8f17c4f39f231 Fixes Issue 7569 - Allow void initializer for Tuple variables.

https://github.com/D-Programming-Language/dmd/commit/1913c774ce7f90f32ca414560c74c2aa8d6297cf Merge pull request #1674 from AndrejMitrovic/Fix7569

Issue 7569 - Allow void initializer for Tuple variables.

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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