Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Panics when used with Sublime Text 3 LSP #1038

Closed
@kornelski

Description

@kornelski

When used in Sublime, rls occasionally panics:

server: DEBUG 2018-09-04T19:28:59Z: rls::server::message: error when parsing as request: invalid type: map, expected unit
server: ERROR 2018-09-04T19:28:59Z: rls::server: dispatch error, Error { code: InvalidParams, message: "invalid type: map, expected unit", data: None }
server: thread 'main' panicked at 'orphaned concurrent job', tools/rls/src/concurrency.rs:82:9

sublimelsp/LSP#399

rls-preview 0.130.0-beta (920a391 2018-08-03)

There are two problems here:

  1. It panics.

  2. There isn't much information about the panic, so it's hard to tell whether that's RLS's problem, or LSP's problem.

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