[Issue 24118] ICE / regression from 2.103.1 - segfault on CTFE only code in 2.104.2 and 2.105.0
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 5 14:50:29 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24118
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|backend, ice |
CC| |razvan.nitu1305 at gmail.com
Hardware|All |Other
OS|All |Mac OS X
--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
Reduced code:
void map(alias fun, T)(T[] arr)
{
fun(arr);
}
void foo() {
if( __ctfe )
{
["a", "b", "c"].map!( a => " " ~ a[0] );
}
}
--
More information about the Digitalmars-d-bugs
mailing list