Open
Description
Description
LC0003 and LC0005 false positives are raised for new syntax Create lists and dictionaries of interfaces in AL.
Versions
- BusinessCentralLinterCop.dll: 0.35.1.0
- ms-dynamics-smb.al: 16.0.1384372
Example
internal procedure InterfacesDictionaryAndList()
var
dictAIServiceName: Dictionary of [Integer, Interface "AI Service Name"];
listAIServiceName: List of [Interface "AI Service Name"];
begin
Clear(dictAIServiceName);
Clear(listAIServiceName);
// Causes the following warnings for the phrase "AI Service Name" in dictAIServiceName:
// LC0003: Do not use an Object ID for properties or variables declaration. Use Dictionary instead.
// LC0005: Wrong casing detected! Use Dictionary instead.
// List has no issues afaik.
end;