I’ve run into this issue mostly in Python - doesn’t seem to happen much in other languages.
When editing the end of a function, the suggestion is very keen to remove the return statements / end of the function. It happens all the time and doesn’t seem to be dependent on what type of changes I’m making.
This happens even for functions with explicit signatures, where it should be clear that the returned value is needed.
I feel it got worse recently, but I can’t really guarantee it changed.