← Back to index
|
Original Bugzilla link
Bug 16091 – Assertion `thisfd->isNested() || thisfd->vthis' failed.
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-05-29T05:51:02Z
Last change time
2020-05-26T09:52:54Z
Keywords
ice
Assigned to
No Owner
Creator
Max Samukha
Comments
Comment #0
by maxsamukha — 2016-05-29T05:51:02Z
void foo(alias f)() { void bar() { f(); } bar(); } void main() { void f()() { } foo!f(); } dmd: toir.c:249: elem* getEthis(Loc, IRState*, Dsymbol*): Assertion `thisfd->isNested() || thisfd->vthis' failed.
Comment #1
by maxsamukha — 2020-05-26T09:52:54Z
This seems to be fixed and now issues Error: function onlineapp.foo!(f).foo.bar cannot get frame pointer to onlineapp.main.f!().f