Summary: ICE when invoking a function with a default struct
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Koroskin Denis <> 2009-12-25 07:13:10 PST 
module test;

struct Foo
    this (int i)

void bar(Foo foo = Foo(42))

void main()

# dmd test.d
Internal error: ..\ztc\out.c 1201

I briefly recall submitting similar bug-report a few months ago, but that one
got fixed IIRC. I'll add more info as I find.

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

Reply via email to