Regexp::Assemble 0.38 fails literal control-character dump test
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 40/100
調査の方向性
The issue is in the PerlOnJava frontend/compiler's handling of literal control characters in qw(...) arguments. Start by examining the test file t/00_basic.t from Regexp::Assemble 0.38, specifically test 304. Look at how the PerlOnJava compiler processes quoted-word constructs and control characters. The goal is to make the dump output match the expected string, ensuring compatibility with system Perl. Run the test after changes to verify.
索引モデルが issue の本文から書いたものです。
説明
Regexp::Assemble 0.38 fails one upstream test on both backends
Summary
The upstream Regexp::Assemble 0.38 test suite passes completely under system Perl but fails under PerlOnJava on both the JVM and interpreter backends.
Reproduction
Run the upstream test file t/00_basic.t from Regexp::Assemble 0.38.
The failure is test 304, dump pretty node:
got: '[{*}]'
expected: '[\\x07 {\\x05=>[\\x05] \\x06=>[\\x06]}]'
The test constructs a Regexp::Assemble object with literal control characters in qw(...) arguments:
Regexp::Assemble->new->insert(qw(\x07 \x05))->insert(qw(\x07 \x06))->dump
(\\x07, \\x05, and \\x06 above represent the literal control characters present in the upstream test source.)
Results
- System Perl 5.42.2: PASS, 11 files / 2,948 tests.
- PerlOnJava JVM backend: FAIL, 1 of 2,948 tests.
- PerlOnJava interpreter backend: FAIL, 1 of 2,948 tests.
- CPAN random tester run:
20260922-093937-23377.
The shared failure across both backends indicates that the PerlOnJava frontend/compiler is not preserving or handling these literal control-character qw(...) operands correctly. This is not an XS/native dependency or environment prerequisite issue.
Acceptance criteria
Regexp::Assemble0.38t/00_basic.tpasses on both PerlOnJava backends.- The behavior remains compatible with system Perl for literal control characters in quoted-word arguments.
- Add a focused project-owned regression test for the minimal reproducer.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 7
- 平均マージ
- 5時間 25分
- マージ済み PR(30日)
- 213
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fglock/PerlOnJava#1651 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#1579 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:unicode bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fglock/PerlOnJava#1341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 45/100
fglock/PerlOnJava#1808 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:runtime bug
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
fglock/PerlOnJava#1802 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
Add .gitattributes so share/skel keeps LF on a Windows git checkout対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
PerlDancer/Dancer2#1854 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
major/MySQLTuner-perl#1007 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
bioconda/bioconda-recipes#70187 ·
メンテナーはふだん 2 日以内に返信