[Git][ghc/ghc][master] JavaScript: Correct arguments to h$appendToHsStringA
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Thu May 4 18:59:48 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
98c5ee45 by Luite Stegeman at 2023-05-04T14:59:31-04:00
JavaScript: Correct arguments to h$appendToHsStringA
fixes #23278
- - - - -
1 changed file:
- compiler/GHC/StgToJS/Apply.hs
Changes:
=====================================
compiler/GHC/StgToJS/Apply.hs
=====================================
@@ -110,7 +110,7 @@ genApp ctx i args
prof <- csProf <$> getSettings
let profArg = if prof then [jCafCCS] else []
a <- genArg x
- return ( top |= app "h$appendToHsStringA" ([toJExpr d, toJExpr a] ++ profArg)
+ return ( top |= app "h$appendToHsStringA" (toJExpr d : a ++ profArg)
, ExprInline Nothing
)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/98c5ee4526d1830beff4203062eb1c8e903db9bb
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/98c5ee4526d1830beff4203062eb1c8e903db9bb
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230504/9f2cf3c8/attachment.html>
More information about the ghc-commits
mailing list