[Issue 22975] 3 cyclic aliases with meaningful overloads not caught [ice]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 27 11:07:23 UTC 2022


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

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
To complete the circle, the test case should be:

---
void foo(int){};
alias bar=foo;
void bar(bool){}
alias foobar=bar;
alias foo=foobar;
void foobar(float){}
---

As this constructs a tree where no single node representation is directly
connected to any of its cyclic references.

--


More information about the Digitalmars-d-bugs mailing list