www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10218] New: std.typecons.opAssign is not CTFEable

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

           Summary: std.typecons.opAssign is not CTFEable
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: youxkei gmail.com


--- Comment #0 from Hisayuki Mima <youxkei gmail.com> 2013-05-31 21:05:13 JST
---
-----

import std.typecons;

static assert({
    auto t = tuple(0);
    t = tuple(1);
    return true;
}());

void main(){}

-----


This code doesn't work since the time
https://github.com/D-Programming-Language/phobos/pull/1308 was marged.

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


bearophile_hugs eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc


--- Comment #1 from bearophile_hugs eml.cc 2013-05-31 05:24:36 PDT ---
(In reply to comment #0)

 This code doesn't work since the time
 https://github.com/D-Programming-Language/phobos/pull/1308 was marged.
So can this seen as a regression? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 31 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10218



--- Comment #2 from Hisayuki Mima <youxkei gmail.com> 2013-06-01 01:29:56 JST
---
https://github.com/D-Programming-Language/phobos/pull/1325

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



--- Comment #3 from github-bugzilla puremagic.com 2013-06-01 06:14:17 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/e7f117af477c8971aa463d66188f46f52afd612d
Merge pull request #1325 from youkei/fix_10218

Issue 10218 - std.typecons.opAssign is not CTFEable

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |CTFE, pull
             Status|NEW                         |RESOLVED
            Version|D1 & D2                     |D2
         Resolution|                            |FIXED


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