fix[PrettySerialize]: Optic changes
This commit is contained in:
parent
5e6736e8da
commit
500bfa349e
3 changed files with 6 additions and 7 deletions
|
@ -11,6 +11,7 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE InstanceSigs #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
module Language.Java.Classfile (Classfile(..)) where
|
||||
|
||||
import GHC.Generics (Generic, Generically(Generically))
|
||||
|
@ -59,7 +60,7 @@ data family ClassFlags stage
|
|||
newtype instance ClassFlags Parse = ClassFlags (Flags ClassFlag)
|
||||
deriving stock (Show, Generic)
|
||||
deriving Extractable via Generically (ClassFlags Parse)
|
||||
deriving PrettySerialize via Generically (ClassFlags Parse)
|
||||
deriving newtype PrettySerialize
|
||||
|
||||
data ClassFlag
|
||||
= Public -- ^ may be accessed from outside the package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue