
Apoorv Ingle pushed to branch wip/spj-apporv-Oct24 at Glasgow Haskell Compiler / GHC Commits: ba88d72c by Apoorv Ingle at 2025-08-03T19:11:55-05:00 OrigPat pprCtO says a do statement to mimic DoPatOrigin - - - - - 2 changed files: - compiler/GHC/Tc/Types/Origin.hs - − compiler/hie.yaml Changes: ===================================== compiler/GHC/Tc/Types/Origin.hs ===================================== @@ -1096,7 +1096,7 @@ pprCtO (ExpansionOrigin (OrigExpr (ExplicitList{}))) = text "an overloaded list" pprCtO (ExpansionOrigin (OrigExpr (HsIf{}))) = text "an if-then-else expression" pprCtO (ExpansionOrigin (OrigExpr e)) = text "an expression" <+> ppr e pprCtO (ExpansionOrigin (OrigStmt{})) = text "a do statement" -pprCtO (ExpansionOrigin (OrigPat{})) = text "a pattern" +pprCtO (ExpansionOrigin (OrigPat{})) = text "a do statement" pprCtO (ExpectedTySyntax o _) = pprCtO o pprCtO (ExpectedFunTySyntaxOp{}) = text "a rebindable syntax operator" pprCtO (ExpectedFunTyViewPat{}) = text "a view pattern" ===================================== compiler/hie.yaml deleted ===================================== @@ -1,8 +0,0 @@ -# This is a IDE configuration file which tells IDEs such as `ghcide` how -# to set up a GHC API session for this project. -# -# To use it in windows systems replace the config with -# cradle: {bios: {program: "./hadrian/hie-bios.bat"}} -# -# The format is documented here - https://github.com/mpickering/hie-bios -cradle: {bios: {program: "./hadrian/hie-bios"}} View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ba88d72c5a6ae14c4a4efaa0cffd2a5a... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ba88d72c5a6ae14c4a4efaa0cffd2a5a... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Apoorv Ingle (@ani)