https://bugs.kde.org/show_bug.cgi?id=481381

--- Comment #3 from Alex Lowe <len...@gmail.com> ---
Thanks for responding Waqar! The pyright version you're using is quite old
(2021 it seems): https://github.com/microsoft/pyright/releases/tag/1.1.193

I've tried with the oldest version I could get from pypi (1.1.225) and it still
crashes for me. The crash is only reproducible when the Diagnostics tab is
open, with LSP selected from the dropdown, and with Errors selected to the left
of the filter box. It takes a few times messing with the annotations, but I can
reliably reproduce it with all tried versions of pyright (1.1.225, 1.1.349,
1.1.352) by changing the return type of _extract_file to str, then to
tuple[str, str], then back to str, then to tuple[str, str, str]. This occurs
both in the current version in Kubuntu 24.04 (Version: 4:23.08.5-0ubuntu1) and
in the version from snap (23.08.4 2023-12-10 (171)). I've attached another
crash file using pyright 1.1.225.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to