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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au
            Summary|CTFE: ICE illegal reference |CTFE: ICE illegal reference
                   |value 0LU                   |value 0LU, only with
                   |                            |-inline


--- Comment #2 from Don <clugd...@yahoo.com.au> 2011-12-02 02:41:53 PST ---
Reduced test case, requires -inline:

bool decode(S)(ref int x) {
    return true;
}

bool front(A)() {
    int i = 0;
    return decode!(char)(i);
}

static assert( is(typeof({ front!(int)(); }())) );
static assert ( front!(int)());

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

Reply via email to