Mercurial > projects > dstress
changeset 1255:cfe776588fc0
[Issue 642] New: error: mixin "static this" into where it cannot be
Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp>
2006-12-04
news:bug-642-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Thu, 07 Dec 2006 10:51:13 +0000 |
parents | 8dd1e9bad289 |
children | 27780213cb6d |
files | nocompile/t/this_14_A.d nocompile/t/this_14_B.d nocompile/t/this_14_C.d nocompile/t/this_14_D.d nocompile/t/this_14_E.d nocompile/t/this_14_F.d nocompile/t/this_14_G.d nocompile/t/this_14_H.d nocompile/t/this_14_I.d nocompile/t/this_14_J.d |
diffstat | 10 files changed, 188 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_A.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.this_14_A; + +template T(){ + static this(){ + } +} + +void test(){ + mixin T!(); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_B.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.t.this_14_B; + +void test(){ + static this(){ + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_C.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.t.this_14_C; + +void test(){ + this(){ + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_D.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.t.this_14_D; + +void test(){ + ~this(){ + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_E.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.t.this_14_E; + +void test(){ + static ~this(){ + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_F.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,16 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 15 + +module dstress.nocompile.t.this_14_F; + +void test(){ + this; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_G.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.this_14_G; + +template T(){ + this(){ + } +} + +void test(){ + mixin T!(); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_H.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.this_14_H; + +template T(){ + ~this(){ + } +} + +void test(){ + mixin T!(); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_I.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,21 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.this_14_I; + +template T(){ + static ~this(){ + } +} + +void test(){ + mixin T!(); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/this_14_J.d Thu Dec 07 10:51:13 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Kazuhiro Inaba <kinaba@is.s.u-tokyo.ac.jp> +// @date@ 2006-12-04 +// @uri@ news:bug-642-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 642] New: error: mixin "static this" into where it cannot be + +// __DSTRESS_ELINE__ 19 + +module dstress.nocompile.t.this_14_J; + +template T(){ + this; +} + +void test(){ + mixin T!(); +}