[Git][ghc/ghc][wip/soulomoon/suggest-UnliftedNewtypes-unlifted-data-family-25593] update test UnliftedNewtypesRunTypeRepPoly
Patrick (@soulomoon)
gitlab at gitlab.haskell.org
Thu Jan 9 16:18:13 UTC 2025
Patrick pushed to branch wip/soulomoon/suggest-UnliftedNewtypes-unlifted-data-family-25593 at Glasgow Haskell Compiler / GHC
Commits:
dceda404 by Patrick at 2025-01-10T00:18:06+08:00
update test UnliftedNewtypesRunTypeRepPoly
- - - - -
1 changed file:
- testsuite/tests/typecheck/should_compile/UnliftedNewtypesRunTypeRepPoly.hs
Changes:
=====================================
testsuite/tests/typecheck/should_compile/UnliftedNewtypesRunTypeRepPoly.hs
=====================================
@@ -12,6 +12,7 @@ import GHC.Word (Word(W#))
import GHC.Exts (Int#,Word#)
import GHC.Types
+-- ensure newtype[instance] can be runtime-rep-polymorphic
type N :: TYPE r -> TYPE r
newtype N a = MkN a
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/dceda40499c9bef545ff6d8c59d52308e7632b6a
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/dceda40499c9bef545ff6d8c59d52308e7632b6a
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/20250109/6430a1ff/attachment.html>
More information about the ghc-commits
mailing list