Skip to content

Commit 9843757

Browse files
committed
Fix for ghcjs
1 parent 70fc763 commit 9843757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overlays/patches/ghc/ghc-9.6.7-JS-implement-TH-support.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ index 651f9bf8a2..24bfd5dfc4 100644
259259
+ ml_hie_file = panic "hscCompileCoreExpr':ml_hie_file" }
260260
+
261261
+ let ictxt = (hsc_IC hsc_env) {
262-
+ ic_mod_index = getKey u
262+
+ ic_mod_index = fromIntegral (getKey u)
263263
+ -- Ensure module uniqueness ("GhciNNNN") by reusing the unique
264264
+ -- we've used for the binding. If ic_mod_index was mutable, we
265265
+ -- would simply bump it here after its use.

0 commit comments

Comments
 (0)