Mercurial > projects > dstress
annotate nocompile/m/mixin_19_K.d @ 1319:81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:58:06 +0000 |
parents | 9aaa845bab65 |
children |
rev | line source |
---|---|
957 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <nail-mail@mail.ru> | |
6 // @date@ 2006-04-04 | |
1319
81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
957
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=83 |
957 | 8 |
9 // __DSTRESS_ELINE__ 24 | |
10 | |
11 module dstress.nocompile.m.mixin_19_K; | |
12 | |
13 int state; | |
14 | |
15 template T1(){ | |
16 alias T2!().myproperty myproperty; | |
17 | |
18 int myproperty(){ | |
19 return state; | |
20 } | |
21 } | |
22 | |
23 template T2(){ | |
24 alias T1!().myproperty myproperty; | |
25 | |
26 void myproperty(int x){ | |
27 state = x; | |
28 } | |
29 } | |
30 | |
31 alias T1 M1; | |
32 mixin M1!(); | |
33 |