[Issue 6317] ICE on struct literal of nested struct

2011-07-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6317


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #3 from Walter Bright bugzi...@digitalmars.com 2011-07-15 
12:25:28 PDT ---
https://github.com/D-Programming-Language/dmd/commit/523a8c91a0761543a8757b99e3e3d9fe2fe993e2

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6317] ICE on struct literal of nested struct

2011-07-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6317


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 CC||yebbl...@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 yebbl...@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: ---


[Issue 6317] ICE on struct literal of nested struct

2011-07-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6317


yebblies yebbl...@gmail.com changed:

   What|Removed |Added

   Keywords||patch


--- Comment #2 from yebblies yebbl...@gmail.com 2011-07-15 02:13:52 EST ---
Even simple workaround - use structname(args) instead of { args }.

https://github.com/D-Programming-Language/dmd/pull/253

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---