Skip to content

extension cashes on Debian aarch64 with syntaxDiagnosticsForFile is not iterable #794

@drue

Description

@drue

On Debain Sid, Thinkpad X13s (Snapdragon 8cx / aarch64). I didn't have any trouble building the extension using the instructions in CONTRIBUTING.md , Dune and Ocaml seem to be working fine, but the results were the same when loading the generated .vsix directly.

/home/drue/.vscode-oss/extensions/chenglou92.rescript-vscode-1.18.0/server/out/server.js:665
            diagnostics: [...syntaxDiagnosticsForFile, ...compilerDiagnosticsForFile],
                             ^

TypeError: syntaxDiagnosticsForFile is not iterable
    at updateDiagnosticSyntax (/home/drue/.vscode-oss/extensions/chenglou92.rescript-vscode-1.18.0/server/out/server.js:665:30)
    at process.onMessage (/home/drue/.vscode-oss/extensions/chenglou92.rescript-vscode-1.18.0/server/out/server.js:821:13)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:939:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
[Info  - 6:30:43 AM] Connection to server got closed. Server will restart.
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions