Skip to content

JavaScript: MK_TUP* JS macros reference old tuple constructors

In GHC.StgToJS.Linker.Utils, the MK_TUP2 to MK_TUP10 family of JavaScript macros are defined.

Previously, for tuple constructors, GHC used STG names resembling ghczmprimZCGHCziTupleziPrimziZLz2cUZR_con_e for tuple constructors. However, these have been replaced with names resembling h$ghczmprimZCGHCziTupleziPrimziZ2T_con_e, requiring the macros to be updated.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information