Given this code:
var x;
try {
x = 1;
throw new Exception();
} catch (ex) {
x++;
}
I get:
ERROR: <device>: bug.mc:6: Value may not be initialized.
ERROR: <device>: bug.mc:6: Cannot perform operation 'add' on types 'Uninitialized' and '$.Toybox.Lang.Number'.
But there is no way to get to the catch block without initializing the variable.