fix[PrettySerialize]: Optic changes

This commit is contained in:
vegowotenks 2025-08-20 19:50:06 +02:00
parent 5e6736e8da
commit 500bfa349e
3 changed files with 6 additions and 7 deletions

View file

@ -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