caller reports void context for scalar eval caller frame
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
Start with the caller-frame context tracking path used by caller(1)[5] and the existing upstream regression test t/002_must_be_list.t. Reproduce the scalar and void eval cases on both JVM and interpreter backends, then trace how each backend reports the caller context. Done means the project-owned regression coverage passes with system Perl and the upstream suite passes on both PerlOnJava backends.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
caller(1)[5] reports void instead of scalar for the caller frame when a failing call is made through a scalar eval.
Reproducer
Call Call::Context::must_be_list() from foo, where try_it returns foo(), then run:
eval { try_it() };
scalar eval { try_it() };
scalar eval { () = try_it() };
The upstream Call-Context 0.05 test t/002_must_be_list.t expects the second call's exception to identify scalar context and the third call to succeed.
Evidence
- PerlOnJava
b8e16493d, JVM backend, Java 24.0.2, macOS arm64: 1/6 assertions failed int/002_must_be_list.t; actual diagnostic saysfoo called in non-list (void) contextduring the scalar eval. - Interpreter backend on the same checkout also reports
voidfor the scalar case and has an additional failure in the list case. - System Perl 5.42.2 passes all 6 assertions; the archived CPAN oracle for run
20261021-223510-14962passes all 13 tests across all three test files. - The same CPAN run records the PerlOnJava failure as 12/13 tests, with test 5 failing in
t/002_must_be_list.t. - The archived regression record identifies
d5170d2d0as the last-known-working version.
The distribution is pure Perl. This appears to be a PerlOnJava caller-frame context tracking issue; the JVM and interpreter backends are both affected.
Acceptance criteria
caller(1)[5]reports scalar for the scalar-eval call and undef for the void call.- The upstream
Call-Context0.05 test suite passes on both PerlOnJava backends. - Add permanent project-owned regression coverage and validate it with system Perl.
- Linguagem predominante
- Perl
- Estrelas
- 64
- Forks
- 8
- Merge médio
- 5h 42min
- PRs com merge (30d)
- 205
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#1579 ·
Mantenedores costumam responder em até 1 dia
-
perf: achieve measured 1:1 standard Perl throughput after #1850Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
fglock/PerlOnJava#1863 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area:memory area:performance area:runtime bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
fglock/PerlOnJava#1860 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 38/100
fglock/PerlOnJava#1854 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 56/100
fglock/PerlOnJava#1851 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
observablt-ci
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
elastic/golang-crossbuild#840 ·
Mantenedores costumam responder em até 1 dia
-
Sync playback crashes repeatedly in a sync group (v9.1.1)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
LMS-Community/slimserver#1701 · 6 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
RotherOSS/otobo#6286 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
fix(api): API v3 Product Read ignores request language (lc) for sample products and image URLsTalvez já em andamento @muntasir-396 assumiu há 4 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
openfoodfacts/openfoodfacts-server#15042 · 1 comentário ·
Mantenedores costumam responder em até 1 dia