-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Description
1. Describe the bug
The AL Language Server crashes when defining a procedure that contains XML documentation comments (
The crash happens immediately after typing or saving the procedure and causes the AL Language Server to restart.
2. To Reproduce
Steps to reproduce the behavior:
Open Visual Studio Code
Open or create an AL project
Create a new codeunit
Add a procedure with XML documentation comments (
Use an invalid parameter type such as Label
codeunit 94126 MyCodeunit
{
///
///Test
///
local procedure Test(Parm: Label)
begin
end;
}
The AL Language Server crashes as soon as the procedure is parsed.
Note:
If the
3. Expected behavior
The AL Language Server should:
Show a compilation or semantic error indicating that Label is not a valid parameter type and continue running without crashing
4. Actual behavior
5. Versions:
- AL Language: 16.2.2053416
Metadata
Metadata
Assignees
Labels
No labels