[Issue 3101] Stack overflow: declaring aggregate member twice with static if
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 9 04:56:58 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3101
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Version|2.030 |1.042
Summary|Compiler hangs with 100% |Stack overflow: declaring
|CPU load |aggregate member twice with
| |static if
OS/Version|Linux |All
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2009-07-09 04:56:58 PDT ---
Reduced test case (Windows):
---
struct foo{
static if (is(int T == int)) {}
static if (is(int T == int)) {}
}
----
> dmd ice.d
ice.d(3): Error: declaration T is already defined
Stack overflow
On DMD1, it stack overflows without error message.
--
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