June 22, 2014 [phobos] [D-Programming-Language/phobos] 8f1991: Fix #9819: Allow access to named tuple's names | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 8f1991447c09c73c30da18e687f2da31c87a0c0a https://github.com/D-Programming-Language/phobos/commit/8f1991447c09c73c30da18e687f2da31c87a0c0a Author: Justin Whear <justin@economicmodeling.com> Date: 2014-06-17 (Tue, 17 Jun 2014) Changed paths: M std/typecons.d Log Message: ----------- Fix #9819: Allow access to named tuple's names Adds a `fieldNames` alias to `std.typecons.Tuple` to return the user-supplied names. The actual fields are in an expression tuple, so the user-supplied names are simply aliases, which previous to this PR, were not accessible. https://issues.dlang.org/show_bug.cgi?id=9819 Fix Issue 9819 Commit: 92758421965f16fd57c4c5072de58489dc38a06a https://github.com/D-Programming-Language/phobos/commit/92758421965f16fd57c4c5072de58489dc38a06a Author: Jonathan M Davis <jmdavisProg@gmx.com> Date: 2014-06-22 (Sun, 22 Jun 2014) Changed paths: M std/typecons.d Log Message: ----------- Merge pull request #2232 from economicmodeling/fix_9819 Fix 9819: Allow access to named tuple's names. Compare: https://github.com/D-Programming-Language/phobos/compare/b610ed5d7c18...92758421965f |
Copyright © 1999-2021 by the D Language Foundation