Frame equalities: a to that uses a named set's function (phase(this) == phase(other)) still gets the frame

Đang mở
#506 0 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 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
compilers, testing

Hướng nghiên cứu

Read AuxStateHandler.getMissingStates and compare the handling of named states with function applications in to. Trace how the post-state receiver is identified, using the related #504 discussion as context. Done means phase(this) == phase(other) avoids the contradictory frame while phase(this) == phase(this) keeps it; the issue does not name a test file.

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

Mô tả

bug

Problem. Since #498, a to can refer to a named state set through its function, for example undo(this) == undo(old(this)) or phase(this) == phase(other). AuxStateHandler.getMissingStates only counts a set as mentioned when one of its states appears in to. A set used through its function still gets the frame phase(this) == phase(old(this)). For to = "phase(this) == phase(other)" that frame contradicts the spec, unless other happened to be in the same state.

Constraint. Counting every application as a mention is wrong as well. to = "phase(this) == phase(this)" keeps the set today, because the frame is added, and must keep doing so. The rule has to count an application only when it constrains the post-state receiver. That is the same question #504 asks about states.

Split out of #502, whose phase(this) == open form becomes the state shorthand before the frame logic runs and does not depend on this.

Ngôn ngữ chính
Java
Star
73
Fork
38
Merge trung bình
12 giờ 32 phút
Pull request đã merge (30 ngày)
45

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

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 liquid-java/liquidjava

Tất cả issue của liquid-java/liquidjava

Issue tương tự

Thêm issue về Java

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.