Bug 8969 – is(T == __parameters) is undocumented

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-06T10:20:00Z
Last change time
2013-01-11T17:51:40Z
Keywords
pull
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2012-11-06T10:20:54Z
std.traits ParameterIdentifierTuple and ParameterDefaultValueTuple use this trick to extract the parameters: static if (is(typeof(func) PT == __parameters)) { } This __parameters feature is not documented.
Comment #1 by github-bugzilla — 2012-11-06T16:50:48Z
Commits pushed to master at https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/bb80d6e14fca7bc56f8dd9cb2d8ddb6409ba5b48 Fixes Issue 8969 - Document __parameters in is expression. https://github.com/D-Programming-Language/d-programming-language.org/commit/3b88b9517a823b9df15a8ad9ad8b1a90f054ed0a Merge pull request #188 from AndrejMitrovic/Fix8969 Fix Issue 8969 - Document __parameters in 'is' expression.
Comment #2 by andrej.mitrovich — 2013-01-11T17:51:40Z
Fixed in 2.061 release.