[Git][ghc/ghc][wip/bytecode-library] remove unused constructor
Matthew Pickering pushed to branch wip/bytecode-library at Glasgow Haskell Compiler / GHC Commits: 9d26339f by Matthew Pickering at 2025-10-06T13:59:03+01:00 remove unused constructor - - - - - 1 changed file: - libraries/ghci/GHCi/Message.hs Changes: ===================================== libraries/ghci/GHCi/Message.hs ===================================== @@ -91,7 +91,6 @@ data Message a where LookupClosure :: String -> Message (Maybe HValueRef) LoadDLLs :: [String] -> Message (Either String [RemotePtr LoadedDLL]) LoadArchive :: String -> Message () -- error? - LoadBytecode :: String -> Message () LoadObj :: String -> Message () -- error? UnloadObj :: String -> Message () -- error? AddLibrarySearchPath :: String -> Message (RemotePtr ()) @@ -603,7 +602,6 @@ getMessage = do 38 -> Msg <$> (ResumeSeq <$> get) 39 -> Msg <$> (LookupSymbolInDLL <$> get <*> get) 40 -> Msg <$> (WhereFrom <$> get) - 41 -> Msg <$> (LoadBytecode <$> get) _ -> error $ "Unknown Message code " ++ (show b) putMessage :: Message a -> Put View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9d26339f51f016174c834e9bb3a3feb7... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9d26339f51f016174c834e9bb3a3feb7... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Matthew Pickering (@mpickering)