← Back to index
|
Original Bugzilla link
Bug 10218 – std.typecons.opAssign is not CTFEable
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-31T05:05:00Z
Last change time
2013-06-01T06:15:33Z
Keywords
CTFE, pull
Assigned to
nobody
Creator
youxkei
Comments
Comment #0
by youxkei — 2013-05-31T05:05:13Z
----- 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.
Comment #1
by bearophile_hugs — 2013-05-31T05:24:36Z
(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?
Comment #2
by youxkei — 2013-05-31T09:29:56Z
https://github.com/D-Programming-Language/phobos/pull/1325
Comment #3
by github-bugzilla — 2013-06-01T06:14:17Z
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