/f8d472fed64a174472832d919f65b811fca0a968
Merge pull request #827 from 9rnsr/fix7694
Issue 7694 - Internal error: e2ir.c 1251 when calling member function inside
struct via alias param
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7694
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7694
--- Comment #4 from Dmitry Olshansky dmitry.o...@gmail.com 2012-03-24
14:28:17 PDT ---
I think the error is tolerable, when I found workaround I just rewrote it to
global template. Less flexible maybe, but works for me.
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=7694
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=7694
--- Comment #3 from Kenji Hara k.hara...@gmail.com 2012-03-23 22:50:19 PDT ---
(In reply to comment #0)
As is the following gives assert on line 8 as expected,
uncomment bootstrap to get Internal error: e2ir.c 1251
template
http://d.puremagic.com/issues/show_bug.cgi?id=7694
--- Comment #1 from Dmitry Olshansky dmitry.o...@gmail.com 2012-03-22
12:34:05 PDT ---
Minimized test case and a workaround:
void match(alias m)(){
m.foo();//removing this line supresses ice in both cases
}
struct T{
void foo(){}