Options

VSC with strange error message

gtrennert2gtrennert2 Member Posts: 23
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

Sign In or Register to comment.