Description
Bug Description:
theia/packages/monaco/src/browser/monaco-outline-contribution.ts
Lines 166 to 167 in c7ca0d5
theia/packages/monaco/src/browser/monaco-outline-contribution.ts
Lines 259 to 271 in c7ca0d5
Creates a range with all values set to -1
Uses vscode-languageserver-types
Range.is
Which includes this check:
function uinteger(value) {
return toString.call(value) === '[object Number]' && 0 <= value && value <= 2147483647;
}
So check fails, leading to a call to
theia/packages/monaco/src/browser/monaco-outline-contribution.ts
Lines 280 to 282 in c7ca0d5
Which passes undefined
back into
theia/packages/monaco/src/browser/monaco-outline-contribution.ts
Lines 259 to 271 in c7ca0d5
Leading to
Steps to Reproduce:
- Open a file that has multiple language servers serving it, each able to provide outline data.
This seems to be necessary for the procedure that checks for parents to examine the 'root' nodes.
- Look in the dev tools.
- See errors about trying to destructure
undefined
Additional Information
- Operating System: RHEL
- Theia Version: 1.34.2
Activity