Open
Description
With version 24.0.5, I'm seeing CONSTRAINT_ERROR
from vscode when looking at some Ada file that compiles.
It occurs for one file but not for others. The file is correct and compiles. The issue occurs when moving the caret at some position in the buffer by using the mouse (ie, click to position the caret).
2024-05-01 14:29:25.728 [error] Exception: CONSTRAINT_ERROR (LSP.Text_Documents.Line_Marker_Vectors.Constant_Reference: Index is out of range): Error: Exception: CONSTRAINT_ERROR (LSP.Text_Documents.Line_Marker_Vectors.Constant_Reference: Index is out of range)
at dr (/home/ciceron/.vscode/extensions/adacore.ada-24.0.5/out/src/extension.js:36:228)
at xr (/home/ciceron/.vscode/extensions/adacore.ada-24.0.5/out/src/extension.js:35:6240)
at lr (/home/ciceron/.vscode/extensions/adacore.ada-24.0.5/out/src/extension.js:35:6363)
at Immediate.<anonymous> (/home/ciceron/.vscode/extensions/adacore.ada-24.0.5/out/src/extension.js:35:6127)
at process.processImmediate (node:internal/timers:476:21)
Each time there is such exception, vscode displays the popup with message Request textDocument/foldingRange failed.
.
The log file /home/ciceron/.config/Code/logs/20240428T113411/window1/exthost/exthost.log
indicates the above exception (several times) but there is no other information.