https://issues.dlang.org/show_bug.cgi?id=14964

--- Comment #8 from Basile-z <[email protected]> ---
another very typical case where the fact that allMembers trait doesn't filter
out aliases is when using an alias to deprecate the name of a symbol.

---
//library...
enum Iter;

struct Foo
{
    @Iter Object[] items;
    /// will be removed on 01-01-2021
    deprecated alias elements = items;
}

//app...
void main()
{
    import std.traits;
    alias Iterable = getSymbolsByUDA!(Foo, Iter);
}
---

--

Reply via email to