[Issue 22881] ICE Index of array outside of bounds at CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 16 10:55:20 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22881
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dkorpel at live.nl
--- Comment #1 from Dennis <dkorpel at live.nl> ---
Looks like the function `resolveSlice` from `ctfeexpr.d` is called on
`"hello".ptr[0 .. 6];` and returns a `CantExpression` without printing an
error, so it ends up printing the generic error.
--
More information about the Digitalmars-d-bugs
mailing list