Commits on Source (23)
-
e17d7e8c
-
baling -> bailing
8a8a982a -
16475bb8
-
a2f60da5
-
This allows users to create their own Control.Exception.assert-like functionality that does something other than raising an `AssertFailed` exception. Fixes #24967
de4395cd -
0e9c4dee
-
This MR fixes the bug exposed by #24676. The problem was that quickLookArg was trying to avoid calling tcInstFun unnecessarily; but it was in fact necessary. But that in turn forced me into a significant refactoring, putting more fields into EValArgQL. Highlights: see Note [Quick Look overview] in GHC.Tc.Gen.App * Instantiation variables are now distinguishable from ordinary unification variables, by level number = QLInstVar. This is treated like "level infinity". See Note [The QLInstVar TcLevel] in GHC.Tc.Utils.TcType. * In `tcApp`, we don't track the instantiation variables in a set Delta any more; instead, we just tell them apart by their level number. * EValArgQL now much more clearly captures the "half-done" state of typechecking an argument, ready for later resumption. See Note [Quick Look at value arguments] in GHC.Tc.Gen.App * Elminated a bogus (never used) fast-path in GHC.Tc.Utils.Instantiate.instCallConstraints See Note [Possible fast path for equality constraints] Many other small refactorings.
2747cd34 -
1b1523b1
-
The main payload of this patch is * Prioritise nominal equalities in the constraint solver. This ameliorates the incompleteness of solving for representational constraints over newtypes: see #24887. See (EX2) in Note [Decomposing newtype equalities] in GHC.Tc.Solver.Equality In doing this patch I tripped over some other things that I refactored: * Move `isCoVarType` from `GHC.Core.Type` to `GHC.Core.Predicate` where it seems more at home. * Clarify the "rewrite role" of a constraint. I was very puzzled about what the role of, say `(Eq a)` might be, but see the new Note [The rewrite-role of a constraint]. In doing so I made predTypeEqRel crash when given a non-equality. Usually it expects an equality; but it was being mis-used for the above rewrite-role stuff.
b0b64177 -
Extends the missing-deriving-strategies warning with a suggested fix that includes which deriving strategies were assumed. For info about the warning, see comments for `TcRnNoDerivStratSpecified`, `TcRnNoDerivingClauseStrategySpecified`, & `TcRnNoStandaloneDerivingStrategySpecified`. For info about the suggested fix, see `SuggestExplicitDerivingClauseStrategies` & `SuggestExplicitStandalanoDerivingStrategy`. docs: Rewords missing-deriving-strategies to mention the suggested fix. Resolves #24955
cb7c1b83 -
This patch changes mblock size to page size on wasm. It allows us to simplify our wasi-libc fork, makes it much easier to test third party libc allocators like emmalloc/mimalloc, as well as experimenting with threaded RTS in wasm.
558353f4 -
If you need to wire in definitions, then place them in ghc-internal and reexport them from ghc-experimental. Ticket #24903
b3cc5366 -
This commit rectifies the usage of a unicode arrow in favour of one that doesn't provoke mis-alignment.
700eeab9 -
This was caught by `ghcup-ci` failing and attempting to install a deb12 bindist on deb11. ``` configure: WARNING: m4/prep_target_file.m4: Expecting YES/NO but got in ArSupportsDashL_STAGE0. Defaulting to False. bin/ghc-toolchain-bin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bin/ghc-toolchain-bin) bin/ghc-toolchain-bin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/tmp.LBhwvFbVoy/foobarbaz/.ghcup/tmp/ghcup-708d9668d5d82287/ghc-9.11.20240609-x86_64-unknown-linux/bin/../lib/x86_64-linux-ghc-9.11.20240609/libHSunix-2.8.5.1-inplace-ghc9.11.20240609.so) bin/ghc-toolchain-bin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/tmp.LBhwvFbVoy/foobarbaz/.ghcup/tmp/ghcup-708d9668d5d82287/ghc-9.11.20240609-x86_64-unknown-linux/bin/../lib/x86_64-linux-ghc-9.11.20240609/libHSunix-2.8.5.1-inplace-ghc9.11.20240609.so) ``` Fixes #24974
cca7de25 -
- Remove dead code. - Remove `streamly` dependency. - Process files with `bytestring`. - Replace Unicode files parsers with the corresponding ones from the package `unicode-data-parser`. - Simplify cabal file and rename module - Regenerate `ghc-internal` Unicode files with new header
7b23ce8b -
Also remove ghc 9.7 requirement
4570319f -
ce76bf78
-
Filling in missing instances and creating a separate "semantic" datatype are two different layers of abstraction, and so we should create two different modules for them. Fixed arrow desugaring bug. (This was dead code before.) Co-authored-by:
Fabian Kirchner <kirchner@posteo.de>
b2035eec
Showing
- .gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py 1 addition, 1 deletion.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
- compiler/GHC/Builtin/Names.hs 0 additions, 7 deletionscompiler/GHC/Builtin/Names.hs
- compiler/GHC/Builtin/PrimOps.hs 0 additions, 1 deletioncompiler/GHC/Builtin/PrimOps.hs
- compiler/GHC/CmmToAsm/Wasm/FromCmm.hs 10 additions, 16 deletionscompiler/GHC/CmmToAsm/Wasm/FromCmm.hs
- compiler/GHC/Core.hs 1 addition, 1 deletioncompiler/GHC/Core.hs
- compiler/GHC/Core/DataCon.hs 2 additions, 2 deletionscompiler/GHC/Core/DataCon.hs
- compiler/GHC/Core/Lint.hs 2 additions, 1 deletioncompiler/GHC/Core/Lint.hs
- compiler/GHC/Core/Make.hs 4 additions, 3 deletionscompiler/GHC/Core/Make.hs
- compiler/GHC/Core/Opt/Simplify.hs 1 addition, 1 deletioncompiler/GHC/Core/Opt/Simplify.hs
- compiler/GHC/Core/Predicate.hs 48 additions, 16 deletionscompiler/GHC/Core/Predicate.hs
- compiler/GHC/Core/Rules.hs 1 addition, 1 deletioncompiler/GHC/Core/Rules.hs
- compiler/GHC/Core/SimpleOpt.hs 11 additions, 6 deletionscompiler/GHC/Core/SimpleOpt.hs
- compiler/GHC/Core/TyCo/FVs.hs 20 additions, 4 deletionscompiler/GHC/Core/TyCo/FVs.hs
- compiler/GHC/Core/Type.hs 1 addition, 13 deletionscompiler/GHC/Core/Type.hs
- compiler/GHC/Core/Utils.hs 1 addition, 0 deletionscompiler/GHC/Core/Utils.hs
- compiler/GHC/Driver/Config/Core/Lint.hs 1 addition, 1 deletioncompiler/GHC/Driver/Config/Core/Lint.hs
- compiler/GHC/Hs/Basic.hs 63 additions, 0 deletionscompiler/GHC/Hs/Basic.hs
- compiler/GHC/Hs/Expr.hs 9 additions, 4 deletionscompiler/GHC/Hs/Expr.hs
- compiler/GHC/Hs/Instances.hs 10 additions, 0 deletionscompiler/GHC/Hs/Instances.hs
- compiler/GHC/HsToCore/Arrows.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/Arrows.hs
compiler/GHC/Hs/Basic.hs
0 → 100644