https://issues.dlang.org/show_bug.cgi?id=22871
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <[email protected]> --- @MoonlightSentinel created dlang/dmd pull request #13804 "alias parameters" fixing this issue: - Fix 22871 - Support aliases to __traits(parameters). The current implementation had two bugs preventing users from using the tuple returned by `__traits(parameters)` bound to an alias: - the parser rejected `typeof(__traits(X))`, i.e. a traits without parameters. Fixed by removing the check for existing arguments. - type semantic rejected the alias as invalid and eagerly issued an error. Fixed by extending the list of viable traits. https://github.com/dlang/dmd/pull/13804 --
