June 13, 2014 [Issue 12907] New: [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12907 Issue ID: 12907 Summary: [ICE] Assertion failure '0' in 'mangle.c' when using `auto` return type with lambda with dereferanced `function` call Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ice Severity: major Priority: P1 Component: DMD Assignee: nobody@puremagic.com Reporter: verylonglogin.reg@gmail.com This code should compile: --- auto f(void function() g) { return x => (*g)(); } --- -- |
Copyright © 1999-2021 by the D Language Foundation