Skip to content

Commit 70fc763

Browse files
committed
Update patch
1 parent ab1d914 commit 70fc763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ index 651f9bf8a2..24bfd5dfc4 100644
119119
import GHC.Types.Name.Ppr
120120
import GHC.Types.TyThing
121121
import GHC.Types.HpcInfo
122-
+import GHC.Types.Unique.Supply (uniqFromMask)
122+
+import GHC.Types.Unique.Supply (uniqFromTag)
123123
+import GHC.Types.Unique (getKey)
124124

125125
import GHC.Utils.Fingerprint ( Fingerprint )
@@ -234,7 +234,7 @@ index 651f9bf8a2..24bfd5dfc4 100644
234234
+ --
235235
+ -- The id has to be exported for the JS backend. This isn't required for the
236236
+ -- byte-code interpreter but it does no harm to always do it.
237-
+ u <- uniqFromMask 'I'
237+
+ u <- uniqFromTag 'I'
238238
+ let binding_name = mkSystemVarName u (fsLit ("BCO_toplevel"))
239239
+ let binding_id = mkExportedVanillaId binding_name (exprType simpl_expr)
240240
+

0 commit comments

Comments
 (0)