[Issue 17968] [REG 2.073] object initializer omitted when it should be included.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 6 14:42:46 UTC 2017


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

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Further reduced mod1:

module mod1;

class IOObject(IO) {
}

struct BufferedInputSource(Source)
{
    Source dev;
}

BufferedInputSource!Source bufd(Source)(Source s)
{
    return BufferedInputSource!Source();
}

auto openDev(int )
{
    return new IOObject!int;
}

--


More information about the Digitalmars-d-bugs mailing list