Fix critical goals
There were two separate issues
- Function range handling. No function range should be necessary for critical goals, but it was. Also, the critical goal test never actually ran
🙅 - Issue #1116 (closed)
These definitely need to be in 2.3. It's not strictly wrong behavior to force users to specify a function range, so I suggest we hold off on merging it to the 2.2 branch (as there will likely be multiple conflicts all over, which will in turn just introduce bugs).
Edited by Tjerk Vreeken