StefanMaron / vsc-lintercop

MIT License
6 stars 6 forks source link

LC0003 and LC0005 on temporary tables as parameters in AL Language v11 #10

Closed NKarolak closed 1 year ago

NKarolak commented 1 year ago

This is an issue since AL Language v11 only, running on the latest linter version released today :

I have created a table with TableType = Temporary, name: "My table name" Whenever such a temporary table is used as a var parameter (but without the "temporary" attribute), the following warnings are thrown:

The "Use ..." instruction does not match the error message. And even if it did, the name is missing the leading "

jwikman commented 1 year ago

Hi again, @NKarolak! I guess you get better response from community if reporting these issues at https://github.com/StefanMaron/BusinessCentral.LinterCop, since that repo handles all rules. This repo is for the VSCode extension, which is "only" used for easier distribution of the dll. :)

But anyways, I get the same warnings, but on all places I declared a record as temporary. And yes, the leading " is missing in the error.

NKarolak commented 1 year ago

since that repo handles all rules

Thanks Johannes, I didn't know that (anymore) 🙈