]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Make sure to drop our "trap" jump target in case of an error
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 4 Feb 2022 08:32:11 +0000 (09:32 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 4 Feb 2022 08:32:11 +0000 (09:32 +0100)
commitda77acbb1d7cfbbdcabf4a17bd66cef5d22cc686
treeeef96c378b378df207a184c596f34c61f04be029
parentafd8f8eef3063d56a8f02fbb65577c09d1ad2633
vala: Make sure to drop our "trap" jump target in case of an error

Otherwise this can result in an infinite loop in FlowAnalyzer.intersect()

Improve source reference for jump out of finally block

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1287
tests/Makefile.am
tests/control-flow/switch-try-finally-throw.test [new file with mode: 0644]
vala/valaflowanalyzer.vala