]> 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>
Thu, 9 Feb 2023 14:57:07 +0000 (15:57 +0100)
commit3f1e978fe80b3feb58cb09a4bec0f20da0bd7647
treea629902b6843ba0d55e9f2b2735d6f176aaeae31
parentedeeecb1ec850b12995636c7fbab595acca70cb3
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