purescript / purescript/trypurescript

Compilation stuck/errors on occurence of binding guards

Aperta
#204 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
PureScript
Stelle
121
Fork
51
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
compilers, web-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.