Simon Hengel pushed to branch wip/sol/hie-wierd-in-as-external at Glasgow Haskell Compiler / GHC Commits: 330d46a1 by Simon Hengel at 2025-07-28T23:23:47+07:00 Use isKnownOrigName_maybe to reconstruct wired-in names - - - - - 1 changed file: - compiler/GHC/Iface/Ext/Binary.hs Changes: ===================================== compiler/GHC/Iface/Ext/Binary.hs ===================================== @@ -285,6 +285,8 @@ fromHieName :: NameCache -> HieName -> IO Name fromHieName nc hie_name = do case hie_name of + ExternalName mod occ _ | Just name <- isKnownOrigName_maybe mod occ -> return name + ExternalName mod occ span -> updateNameCache nc mod occ $ \cache -> do case lookupOrigNameCache cache mod occ of Just name -> pure (cache, name) View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/330d46a1e9414c37cc0460c4de123c40... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/330d46a1e9414c37cc0460c4de123c40... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Hengel (@sol)