Mercurial > projects > dstress
view nocompile/m/mixin_22_B.d @ 1016:cddb4604d6d7
Interfaces + mixins => problem
Tom S <h3r3tic@remove.mat.uni.torun.pl>
2006-05-02
news:e37iiv$482$1@digitaldaemon.com
author | thomask |
---|---|
date | Mon, 22 May 2006 20:15:07 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Tom S <h3r3tic@remove.mat.uni.torun.pl> // @date@ 2006-05-02 // @uri@ news:e37iiv$482$1@digitaldaemon.com module dstress.nocompile.m.mixin_22_B; interface I{ void foo(); } template T1(){ void foo(){ } } template T2(){ void foo(){ } } class C : I{ mixin T1!() t1; mixin T2!() t2; } void main(){ C c = new C(); }