[Issue 8735] Can't use alias this on template + ICE: Assertion failure: 't' on line 100 in file 'aliasthis.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 13 09:11:27 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8735
monarchdodra at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |monarchdodra at gmail.com
--- Comment #1 from monarchdodra at gmail.com 2013-03-13 09:11:26 PDT ---
Stumbled upon this, with (I think) a simple reduced case:
//----
struct S(alias Arg)
{
alias Arg Val;
alias Val this;
}
alias S!1 S1;
//----
Assertion failure: 't' on line 100 in file 'aliasthis.c'
abnormal program termination
The code is not legal (AFAIK), but ICE none the less.
--
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