[Issue 722] New: 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 02:42:08 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=722

           Summary: mixin as return value: expression.c:775: virtual void
                    Expression::toMangleBuffer(OutBuffer*): Assertion `0'
                    failed.
           Product: D
           Version: 0.177
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


(Originaly reported by Wang Zhen <nehzgnaw at gmail.com> on 2006-02-17
as news:dt4a71$2hva$1 at digitaldaemon.com)

#
# template t(int t){
# }
#
# int main(){
#    return t!(main());
# }
#

test cases:
http://dstress.kuehne.cn/nocompile/t/template_30_A.d
http://dstress.kuehne.cn/nocompile/t/template_30_B.d
http://dstress.kuehne.cn/nocompile/t/template_30_C.d
http://dstress.kuehne.cn/nocompile/t/template_30_D.d
http://dstress.kuehne.cn/nocompile/t/template_30_E.d


-- 



More information about the Digitalmars-d-bugs mailing list