Errors when executed over a prepl connection
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia da src/lib/oops/compiler.clj alle righe collegate 40–44, quindi riproduci il fallimento avviando il prepl con il comando clj fornito, connettendoti con nc ed eseguendo l’espressione di esempio oops.core/ocall. Confronta il comportamento del prepl con quello di un REPL normale e determina una correzione o un workaround affinché le operazioni oops non generino più l’errore di binding cljs-warnings tramite prepl.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
So this is a bit of a weird onc since there's hardly anyone (possibly just me?) is using prepl for development right now, if you don't care just yet then that's totally fine! Thought I'd let you know anyway 😄
The error is Can't change/establish root binding of: *cljs-warnings* with set, which works fine in a normal REPL. This could be an issue with prepl itself that isn't setting up binding in the right way.
Even if I can't fix it, finding a work around would be great. If I find something I'll put it here, any help would be much appreciated though. This error occurs with any oops operation due to the fact that the setting of *cljs-warnings* is attempted by every macro low down.
I'm not sure what the difference is between a prepl and regular REPL though. You can try it yourself by starting a prepl:
clj -J-Dclojure.server.node="{:port 5556 :accept cljs.server.node/prepl}"
Connecting with something like nc:
nc 127.0.0.1 5556
And executing any oops operation such as:
(oops.core/ocall #js {"a" +} "a" 1 1)
- Lingua principale
- Clojure
- Stelle
- 350
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di binaryage/cljs-oops
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
oset being strict Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di binaryage/cljs-oops
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
.Team/Metabot Priority:P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
scalar-labs/scalar-jepsen#222 · 1 commento ·