]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Better handling of [NoReturn] call inside finally clause
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Feb 2023 17:52:11 +0000 (18:52 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Feb 2023 18:06:01 +0000 (19:06 +0100)
commit6dec23dc1c5b8567d0e2eddeab226e5cbd817cdc
treee313bc7bee6a920c3af642c685196002b4db8f87
parent0771248fd47770e0d25d139143de41eb16a6ee07
vala: Better handling of [NoReturn] call inside finally clause

This caused the following criticals:

  vala_flow_analyzer_jump_target_construct_finally_clause: assertion 'last_block != NULL' failed
  vala_flow_analyzer_jump_target_get_is_exit_target: assertion 'self != NULL' failed
  vala_flow_analyzer_jump_target_get_is_error_target: assertion 'self != NULL' failed
  vala_flow_analyzer_jump_target_get_is_finally_clause: assertion 'self != NULL' failed
tests/Makefile.am
tests/control-flow/finally-no-return.c-expected [new file with mode: 0644]
tests/control-flow/finally-no-return.vala [new file with mode: 0644]
vala/valaflowanalyzer.vala