[Git][ghc/ghc][wip/T25647] add DixC10 to T25647a

Patrick (@soulomoon) gitlab at gitlab.haskell.org
Tue Feb 11 07:41:02 UTC 2025



Patrick pushed to branch wip/T25647 at Glasgow Haskell Compiler / GHC


Commits:
724b546d by Patrick at 2025-02-11T15:40:52+08:00
add DixC10 to T25647a

- - - - -


1 changed file:

- testsuite/tests/typecheck/should_compile/T25647a.hs


Changes:

=====================================
testsuite/tests/typecheck/should_compile/T25647a.hs
=====================================
@@ -90,3 +90,9 @@ newtype instance Dix9 _r = Dix9 Int
 
 dix9 :: Dix9 FloatRep -> Int
 dix9 (Dix9 x) = x
+
+-- anonymous wildcard should work
+class DixC10 a where
+  type Dix10 a
+instance DixC10 Int where
+  type Dix10 _ = Bool



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/724b546df82046b3d3cadcc93d8e53516cfe307b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/724b546df82046b3d3cadcc93d8e53516cfe307b
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/20250211/049f2f9e/attachment.html>


More information about the ghc-commits mailing list