August 21, 2012 [Issue 8570] New: Tuples without named fields should implicitly convert to tuples with named fields when returned from a function | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8570 Summary: Tuples without named fields should implicitly convert to tuples with named fields when returned from a function Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: simen.kjaras@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kjaras@gmail.com> 2012-08-20 23:24:48 PDT --- Currently, this compiles: void bar( ) { Tuple!( int, "a", float, "b" ) t = tuple( 1, 2.0 ); } And this does not: Tuple!( int, "a", float, "b" ) foo( ) { return tuple( 1, 2.0 ); } Ref. discussion: http://forum.dlang.org/thread/sedknwtlaefrxuflnbez@forum.dlang.org?page=8#post-jul0qv:242l9d:241:40digitalmars.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 12, 2012 [Issue 8570] Tuples without named fields should implicitly convert to tuples with named fields when returned from a function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=8570 --- Comment #1 from Simen Kjaeraas <simen.kjaras@gmail.com> 2012-11-12 08:49:08 PST --- *** Issue 8970 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: ------- |
Copyright © 1999-2021 by the D Language Foundation