[Issue 7562] New: DMD crashes by using TemplateThisParameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 22 03:50:12 PST 2012


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

           Summary: DMD crashes by using TemplateThisParameter
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Keywords: ice
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2012-02-22 03:50:11 PST ---
dmd2.059head in Window7 64bit system.
This code crashes dmd in compile.

static struct MyInt
{
    private int value;
    mixin ProxyOf!value;
}
mixin template ProxyOf(alias a)
{
    template X1(){}
    template X2(){}
    template X3(){}
    template X4(){}
    template X5(){}
    template X6(){}
    template X7(){}
    template X8(){}
    template X9(){}
    template X10(){}

    void test1(this X)(){}
    void test2(this Y)(){}
}
void main(){}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list