[Issue 724] New: templated circular typedef in function causes: template.c:2735: TemplateDeclaration* TemplateInstance::findTemplateDeclaration(Scope*): Assertion `s->parent' failed.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 23 02:43:14 PST 2006
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 at digitalmars.com
ReportedBy: thomas-dloop at kuehne.cn
(Originally reported by Deewiant <deewiant.doesnotlike.spam at gmail.com>
on 2006-02-11 as news:dskdle$1838$1 at digitaldaemon.com)
#
# struct Foo(TYPE) {
# }
#
# void main(){
# typedef Foo!(int) Foo;
# }
#
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
--
More information about the Digitalmars-d-bugs
mailing list