purescript / purescript/trypurescript

Compilation stuck/errors on occurence of binding guards

Offen
#204 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
PureScript
Sterne
121
Forks
51
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
compilers, web-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.