GNOME Bugzilla – Bug 475922
exception handler never gets called
Last modified: 2009-01-17 23:17:59 UTC
In the attached code the exception handler never gets called (even though there is no way you have that icon) which can later cause problems because inner_error never gets cleared.
Created attachment 95369 [details] example
Confirming, exception handling currently only works in variable initializers and in the main expression of an expression statement. We need to rearrange the generated C code nodes to be able to handle exceptions in arbitrary expressions.
*** Bug 515735 has been marked as a duplicate of this bug. ***
I think this bugs has been resolved by some other change: When building and running the attached program everything seems to work properly. daniel@purplehaze:/tmp$ valac -o test --pkg=gtk+-2.0 test.vala daniel@purplehaze:/tmp$ LC_ALL=C ./test ** (test:21210): CRITICAL **: Icon 'foobardoesnotexist' not present in theme daniel@purplehaze:/tmp$
*** Bug 546043 has been marked as a duplicate of this bug. ***
*** Bug 560909 has been marked as a duplicate of this bug. ***
*** Bug 561766 has been marked as a duplicate of this bug. ***
2008-11-29 Jürg Billeter <j@bitron.ch> * vala/valamethodcall.vala: Fix error handling in inner expressions, fixes bug 475922 Fixed in r2086.
*** Bug 562384 has been marked as a duplicate of this bug. ***
*** Bug 559971 has been marked as a duplicate of this bug. ***