
Apoorv Ingle pushed to branch wip/spj-apporv-Oct24 at Glasgow Haskell Compiler / GHC Commits: 35826d8b by Matthew Pickering at 2025-06-08T22:00:41+01:00 Hadrian: Add option to generate .hie files for stage1 libraries The +hie_files flavour transformer can be enabled to produce hie files for stage1 libraries. The hie files are produced in the "extra-compilation-artifacts" folder and copied into the resulting bindist. At the moment the hie files are not produced for the release flavour, they add about 170M to the final bindist. Towards #16901 - - - - - e2467dbd by Ryan Hendrickson at 2025-06-09T13:07:05-04:00 Fix various failures to -fprint-unicode-syntax - - - - - b68e42a5 by Apoorv Ingle at 2025-06-11T19:20:46-05:00 - Remove one `SrcSpan` field from `VAExpansion`. It is no longer needed. - Make `tcExpr` take a `Maybe HsThingRn` which will be passed on to tcApp and used by splitHsApps to determine a more accurate `AppCtx` - `tcXExpr` is less hacky now - do not look through HsExpansion applications - kill OrigPat and remove HsThingRn From VAExpansion - look through XExpr ExpandedThingRn while inferring type of head - always set in generated code after stepping inside a ExpandedThingRn - fixing record update error messages - remove special case of tcbody from tcLambdaMatches - wrap last stmt expansion in a HsPar so that the error messages are prettier - remove special case of dsExpr for ExpandedThingTc - make EExpand (HsExpr GhcRn) instead of EExpand HsThingRn - fixing error messages for rebindable - - - - - 91c3c3fb by Apoorv Ingle at 2025-06-11T19:20:46-05:00 some progress on tick - - - - - 81fc5272 by Apoorv Ingle at 2025-06-11T19:20:46-05:00 remove adhoc cases from ticks - - - - - 0520286d by Apoorv Ingle at 2025-06-11T19:20:46-05:00 fix the case where head of the application chain is an expanded expression and the argument is a type application c.f. T19167.hs - - - - - a4436880 by Apoorv Ingle at 2025-06-11T19:20:46-05:00 move setQLInstLevel inside tcInstFun - - - - - 21058b12 by Apoorv Ingle at 2025-06-11T19:20:46-05:00 ignore ds warnings originating from gen locations - - - - - 101d4382 by Apoorv Ingle at 2025-06-11T19:20:46-05:00 filter expr stmts error msgs - - - - - 3d1970ad by Apoorv Ingle at 2025-06-11T19:20:46-05:00 exception for AppDo while making error ctxt - - - - - d05bd62a by Apoorv Ingle at 2025-06-11T19:20:47-05:00 moving around things for locations and error ctxts - - - - - a5a30f05 by Apoorv Ingle at 2025-06-11T19:20:47-05:00 popErrCtxt doesn't push contexts and popErrCtxts in the first argument to bind and >> in do expansion statements - - - - - 96088462 by Apoorv Ingle at 2025-06-11T19:20:47-05:00 accept test cases with changed error messages ------------------------- Metric Decrease: T9020 ------------------------- - - - - - 89fc4097 by Apoorv Ingle at 2025-06-11T19:20:47-05:00 look through PopErrCtxt while splitting exprs in application chains - - - - - b2f3f00b by Apoorv Ingle at 2025-06-11T19:20:47-05:00 remove special case for HsExpanded in Ticks - - - - - 1dca47c1 by Apoorv Ingle at 2025-06-11T19:20:47-05:00 check the right origin for record selector incomplete warnings - - - - - e93187da by Apoorv Ingle at 2025-06-11T19:20:47-05:00 kill VAExpansion - - - - - 95d7fdde by Apoorv Ingle at 2025-06-11T19:20:47-05:00 pass CtOrigin to tcApp for instantiateSigma - - - - - 4fa94157 by Apoorv Ingle at 2025-06-11T19:20:47-05:00 do not suppress pprArising - - - - - a97545aa by Apoorv Ingle at 2025-06-11T19:20:47-05:00 kill VACall - - - - - b33adf7e by Apoorv Ingle at 2025-06-11T19:20:47-05:00 kill AppCtxt - - - - - 11af52c6 by Apoorv Ingle at 2025-06-11T19:20:47-05:00 remove addHeadCtxt - - - - - 74cfa6ac by Apoorv Ingle at 2025-06-11T19:20:47-05:00 fix pprArising for MonadFailErrors - - - - - 61 changed files: - compiler/GHC/Hs/Binds.hs - compiler/GHC/Hs/Decls.hs - compiler/GHC/Hs/Expr.hs - compiler/GHC/HsToCore/Expr.hs - compiler/GHC/HsToCore/Match.hs - compiler/GHC/HsToCore/Pmc.hs - compiler/GHC/HsToCore/Quote.hs - compiler/GHC/HsToCore/Ticks.hs - compiler/GHC/Iface/Syntax.hs - compiler/GHC/Iface/Type.hs - compiler/GHC/Parser/PostProcess.hs - compiler/GHC/Rename/Expr.hs - compiler/GHC/Tc/Errors/Ppr.hs - compiler/GHC/Tc/Gen/App.hs - + compiler/GHC/Tc/Gen/App.hs-boot - compiler/GHC/Tc/Gen/Do.hs - compiler/GHC/Tc/Gen/Expr.hs - compiler/GHC/Tc/Gen/Head.hs - compiler/GHC/Tc/Gen/Match.hs - compiler/GHC/Tc/Instance/Class.hs - compiler/GHC/Tc/Types/Origin.hs - compiler/GHC/Tc/Utils/Monad.hs - hadrian/doc/flavours.md - hadrian/doc/user-settings.md - hadrian/src/Context.hs - hadrian/src/Context/Path.hs - hadrian/src/Flavour.hs - hadrian/src/Flavour/Type.hs - hadrian/src/Settings/Builders/Ghc.hs - hadrian/src/Settings/Default.hs - hadrian/src/Settings/Flavours/Release.hs - testsuite/tests/deSugar/should_compile/T10662.stderr - testsuite/tests/deSugar/should_compile/T3263-1.stderr - testsuite/tests/deSugar/should_compile/T3263-2.stderr - testsuite/tests/default/default-fail05.stderr - testsuite/tests/ghci/scripts/T12550.stdout - testsuite/tests/ghci/scripts/T8959b.stderr - testsuite/tests/ghci/scripts/all.T - + testsuite/tests/ghci/scripts/print-unicode-syntax.script - + testsuite/tests/ghci/scripts/print-unicode-syntax.stderr - + testsuite/tests/ghci/scripts/print-unicode-syntax.stdout - testsuite/tests/ghci/should_run/T11825.stdout - testsuite/tests/indexed-types/should_fail/T2693.stderr - testsuite/tests/indexed-types/should_fail/T5439.stderr - testsuite/tests/plugins/test-defaulting-plugin.stderr - testsuite/tests/polykinds/T13393.stderr - testsuite/tests/printer/T17697.stderr - testsuite/tests/typecheck/should_compile/T14590.stderr - testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr - testsuite/tests/typecheck/should_fail/DoExpansion1.stderr - testsuite/tests/typecheck/should_fail/DoExpansion2.stderr - testsuite/tests/typecheck/should_fail/T10971d.stderr - testsuite/tests/typecheck/should_fail/T13311.stderr - testsuite/tests/typecheck/should_fail/T24064.stderr - testsuite/tests/typecheck/should_fail/T3613.stderr - testsuite/tests/typecheck/should_fail/T7851.stderr - testsuite/tests/typecheck/should_fail/T8603.stderr - testsuite/tests/typecheck/should_fail/T9612.stderr - testsuite/tests/typecheck/should_fail/tcfail128.stderr - testsuite/tests/typecheck/should_fail/tcfail168.stderr - testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr The diff was not included because it is too large. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c5cd030283615b7c070e376433c4ed6... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c5cd030283615b7c070e376433c4ed6... You're receiving this email because of your account on gitlab.haskell.org.