While as seen by human control would not reach the end of this function, as it contains switch statement with all cases of enum, my compiler that is 12.3.1 20230730 anyway responds with the error as given in the title.
The glitch can be fixed by adding assertion statement to the end of the function (assert (false & "why"), as proposed in the path. Let's agree if we want to fix it this way, some other way or not to fix. I can then open a pull request.
While as seen by human control would not reach the end of this function, as it contains switch statement with all cases of enum, my compiler that is 12.3.1 20230730 anyway responds with the error as given in the title.
The glitch can be fixed by adding assertion statement to the end of the function (assert (false & "why"), as proposed in the path. Let's agree if we want to fix it this way, some other way or not to fix. I can then open a pull request.
path.txt