Summary: ICE(symbol.c): Accessing tuple-typed field of struct
                    literal with user-defined constructor
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kasumi Hanazuki <> 2010-09-25 18:39:51 
PDT ---
DMD v2.049 on Windows crashes with the message:

  Internal error: ..\ztc\symbol.c 1043

This only occurs when accessing a tuple-typed field on a struct literal
directly and using an user-defined constructor.


void main() {
  auto w = S(0).x;

template Tuple(T...) {
  alias T Tuple;

struct S {
  Tuple!(int, int) x;
  this(int) { }

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to