# HG changeset patch # User thomask # Date 1165488673 0 # Node ID cfe776588fc0c956efca949b9679ed0e4f548491 # Parent 8dd1e9bad28912feb7439e6967607dfcf84882bb [Issue 642] New: error: mixin "static this" into where it cannot be Kazuhiro Inaba 2006-12-04 news:bug-642-3@http.d.puremagic.com/issues/ diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_A.d --- /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 +// @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!(); +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_B.d --- /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 +// @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(){ + } +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_C.d --- /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 +// @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(){ + } +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_D.d --- /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 +// @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(){ + } +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_E.d --- /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 +// @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(){ + } +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_F.d --- /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 +// @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; +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_G.d --- /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 +// @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!(); +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_H.d --- /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 +// @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!(); +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_I.d --- /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 +// @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!(); +} diff -r 8dd1e9bad289 -r cfe776588fc0 nocompile/t/this_14_J.d --- /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 +// @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!(); +}