bug: vscode extension warns about possible nulls where it's not possible
Why I get this yellow wave line under the comparsion? I thought this was already fixed long ago (though that might have been in the compiler, not the vsc extension)
Or I could be 100% wrong and it's actually a bug, as it seems type narrowing of non-locals works in *some* cases.
e.g.
It seems that the actual problem has nothing to do with local vs non-local variables, but with the presence of any kind of explicit scope specifier ($, self, class name, module name).
Or I could be 100% wrong and it's actually a bug, as it seems type narrowing of non-locals works in *some* cases.
e.g.
It seems that the actual problem has nothing to do with local vs non-local variables, but with the presence of any kind of explicit scope specifier ($, self, class name, module name).