Bug 12907 – [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-06-13T08:10:00Z
Last change time
2014-06-15T02:56:59Z
Keywords
ice, pull
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2014-06-13T08:10:40Z
This code should compile: --- auto f(void function() g) { return x => (*g)(); } ---
Comment #1 by k.hara.pg — 2014-06-14T11:55:07Z
Comment #2 by github-bugzilla — 2014-06-15T02:56:59Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ec399f968140505feeef1a9d375f14c917f67aa6 fix Issue 12907 - [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call https://github.com/D-Programming-Language/dmd/commit/0a7a8b387ace4248381b63471932b065f1acae9c Merge pull request #3666 from 9rnsr/fix12907 Issue 12907 - [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call