Bug 1808 – strange dmd StackOverflow with template and new enum in a struct
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-01-26T16:48:00Z
Last change time
2015-06-09T01:14:30Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
spam
Comments
Comment #0 by spam — 2008-01-26T16:48:32Z
i searched hours to filter this one out and to find the minimal repro (down below)
[code]
template Foo(T)
{
struct SomeStruct
{
T a;
enum SomeStruct constant = { 1 };
}
}
alias Foo!(int).SomeStruct SomeStruct;
[/CODE]
Comment #1 by spam — 2008-01-27T04:54:47Z
seems to be the same thing as in #1800
*** This bug has been marked as a duplicate of 1800 ***