Package: libperl-languageserver-perl
Version: 2.6.1-2
Severity: important

Dear Maintainer,

With the latest package, the language server always exits on error with:

Can't "continue" outside a when block at 
/usr/share/perl5/Perl/LanguageServer/Parser.pm line 181.

I'm using perl language server via emacs and lsp-mode. This bug happens 
whenever a Perl file is loaded.

Looks like a "continue" statement was not cleaned up with perl5.38 patch that 
was added to last release.

I've tried to fix the issue, but I'm a bit lost in the huge if/then/else 
statement. I'll let you fix this.

All the best



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libperl-languageserver-perl depends on:
ii  libanyevent-aio-perl                   1.1-2
ii  libanyevent-perl                       7.170-2+b3
ii  libclass-refresh-perl                  0.07-2
ii  libcompiler-lexer-perl                 0.23-3+b1
ii  libcoro-perl                           6.570-3+b1
ii  libdata-dump-perl                      1.25-1
ii  libencode-locale-perl                  1.05-3
ii  libhash-safekeys-perl                  0.04-1+b1
ii  libio-aio-perl                         4.80-1
ii  libjson-perl                           4.10000-1
ii  libmoose-perl                          2.2206-1
ii  libpadwalker-perl                      2.5-1+b3
ii  libscalar-list-utils-perl              1:1.63-1+b1
ii  perl                                   5.36.0-10
ii  perl-base [libscalar-list-utils-perl]  5.36.0-10

libperl-languageserver-perl recommends no packages.

libperl-languageserver-perl suggests no packages.

-- no debconf information

Reply via email to