Bug 12841 – ICE on taking function address

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-06-02T12:17:00Z
Last change time
2014-06-03T18:31:33Z
Keywords
ice, pull
Assigned to
nobody
Creator
john.loughran.colvin

Comments

Comment #0 by john.loughran.colvin — 2014-06-02T12:17:48Z
import std.parallelism; void main() { auto parallelResults = &(taskPool.amap!"a.result()"); } dmd: expression.c:9086: virtual Expression* AddrExp::semantic(Scope*): Assertion `f' failed.
Comment #1 by k.hara.pg — 2014-06-03T09:11:10Z
Comment #2 by github-bugzilla — 2014-06-03T18:31:32Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f1b7537711792ceebeda76fa761d2543b1317c59 fix Issue 12841 - ICE on taking function address https://github.com/D-Programming-Language/dmd/commit/1e7dda4326d580f5a4f2696888f48865d39c3648 Merge pull request #3616 from 9rnsr/fix12841 Issue 12841 - ICE on taking function address