http://d.puremagic.com/issues/show_bug.cgi?id=3101


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@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 <clugd...@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: -------

Reply via email to