[Issue 7043] CTFE: ICE illegal reference value 0LU, only with -inline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 2 02:43:01 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7043
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Summary|CTFE: ICE illegal reference |CTFE: ICE illegal reference
|value 0LU |value 0LU, only with
| |-inline
--- Comment #2 from Don <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list