Acknowledged

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)
both with SDK 7.4.3 and 8.0.0-Beta
Parents
  • 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).

Comment
  • 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).

Children
No Data