Summary: [CTFE] Assertion failure with inner struct
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Hisayuki Mima <> 2011-12-27 18:29:01 JST 
struct Struct(T){
    T t;

void func(T)(T t){
    Struct!T s;
    s.t = t;

static assert({
    struct InnerStruct{
        void func(){}
    return true;

void main(){}

This code doesn't work.

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

Reply via email to