https://issues.dlang.org/show_bug.cgi?id=17968
--- Comment #3 from Steven Schveighoffer <[email protected]> --- 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; } --
