www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2433] New: Assertion failure: 't->deco' on line 604 in file 'mtype.c'

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2433

           Summary: Assertion failure: 't->deco' on line 604 in file
                    'mtype.c'
           Product: D
           Version: 2.020
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: samukha voliacable.com


Maybe duplicate of or related to 2047/1994

template Foo(T)
{
}

class Test
{
    alias Foo!(typeof(&this.bar)) foo;

    int bar()
    {
        return 1;
    }
}

Worked around by placing foo after bar.


-- 
Oct 28 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2433


clugdbug yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE







*** This bug has been marked as a duplicate of 1994 ***


-- 
Apr 01 2009