purescript / purescript/trypurescript

Compilation stuck/errors on occurence of binding guards

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

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

Ngôn ngữ chính
PureScript
Star
121
Fork
51
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Trying to compile this minimal example:

module Main where
x | _ <- 1 = 1

page either gets stuck on loading logo (https://try.purescript.org) or returns this error (https://try.ps.ai):

bad result. Likely communication issue with compiler: POST compile response failed to decode: There was a problem making the request: AJAX request failed: POST https://compile.purescript.org/compile

where response to request is 500 Internal Server Error.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Hướng nghiên cứu

Reproduce the minimal PureScript example in try.purescript.org and try.ps.ai, then inspect the compile request path and the POST /compile response handling. Trace whether the binding guard reaches the compiler or causes the 500 and decode failure. Done means the example no longer hangs or returns a 500, with regression coverage where the relevant path is found.

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

Đánh giá

Lĩnh vực
compilers, web-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.