[Issue 15332] ICE in e2ir.c: assert(irs->sthis) in visit(ThisExp), function literal with keyword 'function' calls method

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Feb 1 19:02:14 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15332

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a81cdc4b1a7e288fbcab7c13cb0370356bde9385
fix Issue 15332 - ICE in e2ir.c: assert(irs->sthis) in visit(ThisExp), function
literal with keyword 'function' calls method

Set `FuncLiteralDeclaration.tok` to `TOKdelegate` if its `isNested()` actually
returns `true`.

This is not complete, temporary disable `compilable/test14973.d` case.

https://github.com/D-Programming-Language/dmd/commit/76c6f8c2bebd4f285d20aeb887890e47eb9fb51d
Merge pull request #5271 from 9rnsr/fix15332

Issue 15332 - ICE in e2ir.c: assert(irs->sthis) in visit(ThisExp), function
literal with keyword 'function' calls method

--


More information about the Digitalmars-d-bugs mailing list