[GREENFOOT-529] Return optional expression not working quite right
If you have a method with a void return, the expression on the return frame should generally not be present.
If you make a return frame in a void method then you get the focus in the (optional) return expression slot. If you move out of it, the slot vanishes and no error is shown. All is fine. But if you refocus the slot by clicking into it, you get no error underline, but you do see the error message pop-up. If you then leave the slot and focus elsewhere, a red underline is then shown on the return expression slot thereafter, even though because it is empty, it should not be considered present.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.3