Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Panicking on set_language #29

@gustavo-hms

Description

@gustavo-hms

Hi!

kak-tree is panicking when trying to set the language (in this current case, to Rust, but it also happens for any other language I've tested) with the following message:

thread 'main' panicked at src/main.rs:88:35:
called `Result::unwrap()` on an `Err` value: LanguageError { version: 13 }

Steps to reproduce

You can reproduce it by building kak-tree using the instructions on README and only the Rust language as a feature (cargo install --path . --force --features rust), then running any plugin's command (e.g. tree-node-sexp).

Extra info

Rust version: 1.76 on Linux. But I'm sure it has happen for a while, since I tried it several times in the last year.

I've edited the code to print the debug information of the language variable, and it shows: Language(0x000055955bd6fa40). Not sure if it can be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions