[Issue 16091] New: Assertion `thisfd->isNested() || thisfd->vthis' failed.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat May 28 22:51:02 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16091
Issue ID: 16091
Summary: Assertion `thisfd->isNested() || thisfd->vthis'
failed.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: maxsamukha at gmail.com
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.
--
More information about the Digitalmars-d-bugs
mailing list