[Issue 722] mixin as return value: expression.c:775: virtual void Expression::toMangleBuffer(OutBuffer*): Assertion `0' failed.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 23 05:10:13 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=722
thomas-dloop at kuehne.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nehzgnaw at gmail.com,
| |clugdbug at yahoo.com.au
------- Comment #1 from thomas-dloop at kuehne.cn 2006-12-23 07:10 -------
in addition:
(Originally reported by Don Clugston <dac at nospam.com.au>
on 2006-01-25 in news:dr7r09$1jf9$1 at digitaldaemon.com)
#
# template tree(int n){
# const int tree = n;
# }
#
# template getsize(){
# const int getsize = sizeof(tree!(2));
# }
#
# template forest() {
# const int sz = getsize!();
# const int done = tree!( sz );
# }
#
# int crash = forest!().done;
#
testcases:
http://dstress.kuehne.cn/nocompile/s/sizeof_16_B.d
http://dstress.kuehne.cn/nocompile/s/sizeof_16_C.d
--
More information about the Digitalmars-d-bugs
mailing list