Parser rejects postfix method call on function-call result in HTML::Query dependency
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
Start by reproducing the failure with the class($class->FINDBIN)->load expression while loading Badger::Filesystem, then trace the parser path that rejects the postfix method call. Add focused project-owned regression coverage for a postfix call on a function-call result, and run the listed HTML::Query tests to confirm the complete upstream suite passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
HTML-Query-0.09 fails under PerlOnJava because the parser rejects a valid postfix method call on the result of a function call in its Badger dependency.
Reproduction
Badger::Filesystem contains this valid Perl expression:
class($class->FINDBIN)->load;
PerlOnJava reports:
Unsupported operator: -> at Badger/Filesystem.pm line 76, near ")->load"
The failure occurs while loading Badger::Filesystem, which is used by all of the HTML::Query tests.
Evidence
- Distribution:
HTML-Query-0.09 - Dependency:
Badger-0.16 - CPAN random tester run:
20260921-102914-97159 - Failing tests:
t/acidtest.t,t/combinator.t,t/construct.t,t/duplicate.t,t/element.t,t/iterative.t,t/multioperand.t,t/pseudoclasses.t,t/query.t,t/specificity.t, andt/universal.t - System Perl: PASS, 11 test programs and 342 tests
- PerlOnJava: FAIL, all 11 test programs terminate during compilation/loading
- The distributions contain no XS or native code.
Expected behavior
PerlOnJava should accept postfix method calls on arbitrary expression results, including a parenthesized function call such as class(...)->load, with the same behavior as standard Perl.
Acceptance criteria
- The expression
class($class->FINDBIN)->loadparses and executes correctly. HTML-Query-0.09passes its complete upstream test suite.- Add focused project-owned regression coverage for a postfix method call on a function-call result.
Related issue
Issue #1430 concerns a different parser problem involving an imported subroutine named break being parsed as an operator. It is related parser work but does not cover this postfix method-call syntax failure.
- Ngôn ngữ chính
- Perl
- Star
- 64
- Fork
- 7
- Merge trung bình
- 5 giờ 11 phút
- Pull request đã merge (30 ngày)
- 186
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fglock/PerlOnJava
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
fglock/PerlOnJava#1651 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fglock/PerlOnJava#1579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cpan-port area:unicode bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
fglock/PerlOnJava#1341 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:performance area:runtime bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
fglock/PerlOnJava#1723 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DateTime::subtract fails when nanosecond result crosses midnightCó thể đã có người làm @fglock đã nhận 1 ngày trước. Đang mởarea:runtime bug high-impact
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
fglock/PerlOnJava#1720 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fglock/PerlOnJava
Issue tương tự
-
chore: remove unused .gemini configuration directoryCó thể đã có người làm @JayadityaGit đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
openfoodfacts/openfoodfacts-server#14878 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
radiator-software/p5-net-ssleay#577 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
beyondgrep/website#143 ·
-
CPAN install failingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sous-chefs/perl#110 · 1 bình luận ·
-
bug help wanted
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 70/100
bioepic-data/bervo#145 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày