Fix List::Util::PP fallback failures in List::Util::MaybeXS

オープン
#2,000 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, perl
領域
backend, testing

調査の方向性

Start with the listed failing tests (t/first.t, t/reduce.t, t/pair.t, t/sum.t, t/product.t, t/uniqnum.t, t/uniqnum-more.t, t/reductions.t, and t/uniq.t) and reproduce them on the JVM and interpreter. Add Perl-validated regression coverage for each fixed behavior and retain the unfixed-parent evidence. Coordinate refcount and destruction cases with #1649; done means independent fixes pass and the full distribution suite is rerun on both backends.

索引モデルが issue の本文から書いたものです。

説明

area:cpan-port area:runtime bug

Summary

The pure-Perl fallback exercised by List::Util::MaybeXS 1.500015 diverges from standard Perl on both PerlOnJava backends. CPAN run 20261109-091152-39587 reports 13 failed subtests across 9 of 24 test programs; t/uniqnum.t and t/uniqnum-more.t also terminate before producing TAP.

Evidence

  • System Perl 5.42.2: all 24 test programs pass (1,189 tests).
  • PerlOnJava 5.44.1, source commit 43aaefaa9: JVM and interpreter both reproduce the failure set.
  • Environment: macOS arm64, Temurin Java 24.0.2.

Stable failing tests include:

  • t/first.t, t/reduce.t: return from callbacks does not produce the expected result.
  • t/pair.t: scalar pairgrep returns 4 where the expected matching-pair count is 2.
  • t/sum.t, t/product.t: combining Math::BigInt with built-in integers produces incorrect values.
  • t/uniqnum.t, t/uniqnum-more.t: List::Util::PP calls missing B::SVf_IVisUV and aborts.
  • t/first.t, t/reduce.t, t/reductions.t, t/uniq.t: refcount/destruction assertions fail; these ownership-path failures overlap #1649 and should be coordinated with that work.

Acceptance

Add Perl-validated project regression coverage for each fixed behavior, retain the unfixed-parent evidence, and verify the affected cases on JVM and interpreter. Rerun the complete distribution suite after the independent fixes and coordinate the ownership-dependent cases with #1649 before claiming full suite parity.

主要言語
Perl
スター
67
フォーク
8
平均マージ
4時間 36分
マージ済み PR(30日)
123

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。