blob: 77e58e1b4ff898839c924e59e791c6b15ca33da3 [file] [log] [blame]
interface IBar(T)
{
IFoo!T ownerDocument();
}
interface IFoo(T): IBar!T
{
// un-commenting the following line solves the issue
//IList!T getList();
}
interface IList(T) {}
class DOMImplementation(T)
{
class BarImpl: IBar!T
{
FooImpl ownerDocument() { return null; }
}
class FooImpl: BarImpl, IFoo!T
{
IList!T getList() { return null; }
}
}
void main()
{
auto impl = new DOMImplementation!string();
}