www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 724] New: templated circular typedef in function causes: template.c:2735: TemplateDeclaration* TemplateInstance::findTemplateDeclaration(Scope*): Assertion `s->parent' failed.

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

           Summary: templated circular typedef in function causes:
                    template.c:2735: TemplateDeclaration*
                    TemplateInstance::findTemplateDeclaration(Scope*):
                    Assertion `s->parent' failed.
           Product: D
           Version: 0.177
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thomas-dloop kuehne.cn


(Originally reported by Deewiant <deewiant.doesnotlike.spam gmail.com>
on 2006-02-11 as  news:dskdle$1838$1 digitaldaemon.com)










test cases:
http://dstres.kuehne.cn/nocompile/t/typedef_11_A.d
http://dstres.kuehne.cn/nocompile/t/typedef_11_B.d
http://dstres.kuehne.cn/nocompile/t/typedef_11_C.d
http://dstres.kuehne.cn/nocompile/t/typedef_11_D.d
http://dstres.kuehne.cn/nocompile/t/typedef_11_E.d
http://dstres.kuehne.cn/nocompile/t/typedef_11_F.d
http://dstres.kuehne.cn/nocompile/t/typedef_11_G.d


-- 
Dec 23 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=724






The above URLs contain a typo:

http://dstress.kuehne.cn/nocompile/t/typedef_11_A.d
http://dstress.kuehne.cn/nocompile/t/typedef_11_B.d
http://dstress.kuehne.cn/nocompile/t/typedef_11_C.d
http://dstress.kuehne.cn/nocompile/t/typedef_11_D.d
http://dstress.kuehne.cn/nocompile/t/typedef_11_E.d
http://dstress.kuehne.cn/nocompile/t/typedef_11_F.d
http://dstress.kuehne.cn/nocompile/t/typedef_11_G.d


-- 
Dec 31 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=724


bugzilla digitalmars.com changed:

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





Works in dmd 1.022 and 2.006


-- 
Oct 31 2007