Closed offa closed 4 months ago
Oh, what an interesting false positive (I guess), thanks!
I'll see if I can build a workaround for FunctionalPlus, and maybe even a minimal example to reproduce the problem.
I've experimented locally, and replacing return xs;
with return Container({xs.front()});
seems to work. It's not beautiful, but it should also not be a significant performance penalty. Shall we use this? And would you like to push it to your branch, or shall I open a new one?
I've experimented locally, and replacing return xs; with return Container({xs.front()}); seems to work.
Interesting :thinking:.
Shall we use this? And would you like to push it to your branch, or shall I open a new one?
If it works, why not? :-) There' should be a comment documenting the reason though.
And would you like to push it to your branch, or shall I open a new one?
You should have write access to me PR, feel free to add commits directly. :+1: Otherwise, what suits you best.
Ok, I pushed the change (including a comment). :heavy_check_mark:
Fixed by #302
Compiling fplus on GCC 14 issues an out of bounds warning:
The mentioned line doesn't look too wrong though:
(PR with an GCC 14 CI build is on the way)