You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the ghcjs 8.10 via Haskell.nix, and hit this issue when using reflex-dom package.
lib.js:1868 Uncaught ReferenceError: h$ghcjszmprimZCGHCJSziPrimziJSVal_con_e is not defined
at lib.js:1868
rts.js:7280 uncaught exception in Haskell main thread: TypeError: Cannot read property '1' of undefined
rts.js:7280 TypeError: Cannot read property '1' of undefined
at h$base_isatty (lib.js:3861)
at h$$jQ (out.js:13998)
at h$runThreadSlice (rts.js:8456)
at h$runThreadSliceCatch (rts.js:8421)
at h$mainLoop (rts.js:8414)
at rts.js:2518
at runIfPresent (rts.js:2537)
at onGlobalMessage (rts.js:2585)
This seems to be caused by the following commit
commit e4cd4232a31f6371c761acd93853702f4c7ca74c (HEAD -> ghc-8.10, moto/hkm/nix-ghc-8.10, moto/ghc-8.10)
Author: Luite Stegeman <stegeman@gmail.com>
Date: Tue Jun 29 14:54:58 2021 +0200
Remove additional JSVal constructor initializer. apparently this was
used for debugging only, but it causes tools to complain about
duplicate declarations.
Multi-file index.html (rts.js, out.js, lib.js, runmain.js) appears
to run fine with this removed.
Hi
I am using the ghcjs 8.10 via Haskell.nix, and hit this issue when using
reflex-dom
package.This seems to be caused by the following commit
Source: dfordivam/try-haskell-nix@0271303
ghcjs "rev": "e4cd4232a31f6371c761acd93853702f4c7ca74c",
haskell.nix rev: 9d940715665e28af6a60c760946330c6c63f2e29
The text was updated successfully, but these errors were encountered: