[Issue 8436] ICE: Internal error: toir.c 178
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 25 11:51:10 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8436
--- Comment #2 from deadalnix <deadalnix at gmail.com> 2012-07-25 11:51:09 PDT ---
(In reply to comment #1)
> It's related to failing to detect that one is calling a nested function from a
> context where the context pointer to that nested function cannot be generated.
I don't think so. I solved the issue in the real codebase by using
(Type t){ return new BuiltinType!T(); }
instead of
t => new BuiltinType!T()
And the same for all reduced delegate syntax. It seems that the problem shows
up when the delegate is templated (necessary but not sufficient).
I discovered that later, so it isn't in the original bug report.
--
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