[Issue 6317] ICE on struct literal of nested struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 14 07:49:34 PDT 2011


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |yebblies at gmail.com
           Platform|x86                         |All
            Summary|A inner struct with member  |ICE on struct literal of
                   |function causes a compiler  |nested struct
                   |internal error              |
         OS/Version|Windows                     |All
           Severity|normal                      |critical


--- Comment #1 from yebblies <yebblies at gmail.com> 2011-07-15 00:44:22 EST ---
This fails for both kinds of struct initializers, Struct(...) and {...}.
Workaround is to use a static struct and pass the context as needed.

Thanks for reducing this!

-- 
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