[Issue 21187] `.tupleof` should be directly usable as alias
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 22 01:58:02 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21187
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@NilsLankila created dlang/dmd pull request #11604 "fix issue 21187 - allow to
alias directly `.tupleof`" fixing this issue:
- fix issue 21187 - allow to alias directly `.tupleof`
It is actually not a good idea to use `.tupleof[index]` because the whole
tuple is regenerated for each use.
But for now `alias id = T.tupleof` is not allowed which is odd.
https://github.com/dlang/dmd/pull/11604
--
More information about the Digitalmars-d-bugs
mailing list