Skip to content

Commit 02d6979

Browse files
committed
fixup! Add PolyKinds as default extension to clash-prelude
1 parent 6b90f8f commit 02d6979

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/shouldwork/Basic/T1242.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ instance WireApp (U16 'WireRep) (U16 'AppRep) where
2727
toWire v = case v of U16 x -> U16 x
2828
toApp v = case v of U16 x -> U16 x
2929

30-
instance (BitPack (t 'AppRep), WireApp (t 'WireRep) (t 'AppRep)) => BitPack (t 'WireRep) where
31-
type BitSize (t 'WireRep) = BitSize (t 'AppRep)
30+
instance BitPack (U16 'WireRep) where
31+
type BitSize (U16 'WireRep) = BitSize (U16 'AppRep)
3232
pack x = bv
3333
where
34-
bv :: BitVector (BitSize (t 'WireRep))
34+
bv :: BitVector (BitSize (U16 'WireRep))
3535
bv = pack app
36-
app :: t 'AppRep
36+
app :: U16 'AppRep
3737
app = toApp $ x
3838
unpack x = toWire app
3939
where
40-
app :: t 'AppRep
40+
app :: U16 'AppRep
4141
app = unpack x
4242

4343
data Record

0 commit comments

Comments
 (0)