[Issue 7273] Tuples conversion assign
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 21 17:58:39 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7273
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-21 17:58:38 PST ---
(In reply to comment #1)
> Note this currently works:
>
>
> import std.typecons: Tuple, tuple;
> void main() {
> immutable int x = 1;
> Tuple!(int) y = tuple(1);
> }
I think you meant to write:
Tuple!(int) y = tuple(x);
Anyway this seems like more of a compiler issue than a library issue, because I
don't think we can fix this in the library.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list