Hello
I'm on BC16 VSC 1.45.1
Have some code in my workspace - no error
And suddenly VSC finds an error on this line (that was in the workspace since a long time without error) :
if ProjTrace_FolderList.RunModal() = Action::LookupOK then begin
The error is :
{
"resource": "xxx",
"owner": "_generated_diagnostic_collection_name_#0",
"code": "AL0151",
"severity": 8,
"message": "Expression must be an Option",
"source": "AL",
"startLineNumber": 48,
"startColumn": 54,
"endLineNumber": 48,
"endColumn": 60
}
Its not the first time that there are strange behaviours of VSC
Does anyone have any Idea how I can get rid of this ?
Thanks
Answers
BC16 CU1 came out a day or two ago - might be worth trying. And I think they have also updated the AL compiler VSIX, which might also help.
Worst case, you can always use the appcop json settings to flip it to a warning or even make the message hidden.
RIS Plus, LLC