PGML requires PGbasicmacros.pl, but does not load it

Đang mở
#2,564 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
perl
Lĩnh vực
backend

Hướng nghiên cứu

The macro file in question is PGML.pl, which depends on PGbasicmacros.pl but never loads it. Check which PGbasicmacros.pl functions PGML.pl calls and where the load should go. The maintainers have not decided whether macro files should load their own dependencies, so confirm that before editing. Done means PGML.pl loads PGbasicmacros.pl and existing macro tests still pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

This might be a broader discussion: should a macro file load all of its dependencies?

I don't know that it's even possible to craft a meaningful problem without PGbasicmacros.pl, so it's unlikely that someone will run into this in practice, but it is theoretically a bug.

Fixing this would mean having PGML.pl load PGbasicmacros.pl, which will be redundant in almost all (and maybe all practical) cases.

Ngôn ngữ chính
Perl
Star
164
Fork
167
Merge trung bình
6 ngày 7 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openwebwork/webwork2

Tất cả issue của openwebwork/webwork2

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.