Skip to content

Commit c5e357d

Browse files
committed
Add PolyKinds to Clash.Class.BitPack.Internal
This gives us `BitPack` instances for `Proxy a` where `a` is a Kind from our derived `BitPack` instance for `Proxy a`
1 parent 1267e21 commit c5e357d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clash-prelude/src/Clash/Class/BitPack/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Maintainer : QBayLogic B.V. <[email protected]>
1212
{-# LANGUAGE TemplateHaskell #-}
1313
{-# LANGUAGE TypeFamilies #-}
1414
{-# LANGUAGE UndecidableInstances #-}
15-
15+
{-# LANGUAGE PolyKinds #-} -- Required for BitPack (KnownNat n) => BitPack (Proxy n) instances
1616
{-# LANGUAGE Trustworthy #-}
1717

1818
{-# OPTIONS_GHC -fplugin=GHC.TypeLits.Extra.Solver #-}

0 commit comments

Comments
 (0)