[Issue 17140] Segfault when using function-name-qualified renamed import as function return type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 3 09:06:18 PST 2017


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

--- Comment #1 from Chris Wright <dhasenan at gmail.com> ---
Doesn't have to be a static import:

---
fun.S fun()
{
    import std.socket;
    alias S = Socket;
    return null;
}
---

--


More information about the Digitalmars-d-bugs mailing list