Skip to content
Snippets Groups Projects
  1. Jun 15, 2024
  2. Jun 14, 2024
  3. Jun 13, 2024
    • Jacco Krijnen's avatar
      Document how to run haddocks tests (#24976) · 4570319f
      Jacco Krijnen authored and Marge Bot's avatar Marge Bot committed
      Also remove ghc 9.7 requirement
      4570319f
    • Pierre Le Marre's avatar
      ucd2haskell: remove Streamly dependency + misc · 7b23ce8b
      Pierre Le Marre authored and Marge Bot's avatar Marge Bot committed
      - 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
    • Matthew Pickering's avatar
      ghcup-metadata: Fix debian version ranges · cca7de25
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      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
    • Hécate Kleidukos's avatar
      base: Use a more appropriate unicode arrow for the ByteArray diagram · 700eeab9
      Hécate Kleidukos authored and Marge Bot's avatar Marge Bot committed
      This commit rectifies the usage of a unicode arrow in favour of one that
      doesn't provoke mis-alignment.
      700eeab9
    • Matthew Pickering's avatar
      compiler: Make ghc-experimental not wired in · b3cc5366
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      If you need to wire in definitions, then place them in ghc-internal and
      reexport them from ghc-experimental.
      
      Ticket #24903
      b3cc5366
  4. Jun 12, 2024
    • Cheng Shao's avatar
      rts: use page sized mblocks on wasm · 558353f4
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      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
    • Jan Hrček's avatar
      Further haddocks improvements in Language.Haskell.Syntax.Pat.Pat · 4e36d3a3
      Jan Hrček authored and Marge Bot's avatar Marge Bot committed
      4e36d3a3
    • Liam Goodacre's avatar
      compiler: missing-deriving-strategies suggested fix · cb7c1b83
      Liam Goodacre authored and Marge Bot's avatar Marge Bot committed
      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
    • Simon Peyton Jones's avatar
      Prioritise nominal equalities · b0b64177
      Simon Peyton Jones authored and Marge Bot's avatar Marge Bot committed
      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
    • Zubin's avatar
      haddock: Add name anchor to external source urls from documentation page · 954f864c
      Zubin authored and Marge Bot's avatar Marge Bot committed
      URLs for external source links from documentation pages were missing a splice
      location for the name.
      
      Fixes #24912
      954f864c
    • Zubin's avatar
      haddock: Fix hyperlinker source urls (#24907) · 97b141a3
      Zubin authored and Marge Bot's avatar Marge Bot committed
      This fixes a bug introduced by f56838c3 Links to
      external modules in the hyperlinker are uniformly generated using splicing the
      template given to us instead of attempting to construct the url in an ad-hoc manner.
      97b141a3
    • George Thomas's avatar
      Fix non-compiling extensible record `HasField` example · 1b1523b1
      George Thomas authored and Marge Bot's avatar Marge Bot committed
      1b1523b1
    • Simon Peyton Jones's avatar
      Fix a QuickLook bug · 2747cd34
      Simon Peyton Jones authored and Marge Bot's avatar Marge Bot committed
      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
    • Ryan Hendrickson's avatar
      compiler: add hint to TcRnBadlyStaged message · 0e9c4dee
      Ryan Hendrickson authored and Marge Bot's avatar Marge Bot committed
      0e9c4dee
    • Marten Wijnja's avatar
      Add `__GLASGOW_HASKELL_ASSERTS_IGNORED__` as CPP macro name if `-fasserts-ignored is set. · de4395cd
      Marten Wijnja authored and Marge Bot's avatar Marge Bot committed
      This allows users to create their own Control.Exception.assert-like functionality that
      does something other than raising an `AssertFailed` exception.
      
      Fixes #24967
      de4395cd
    • Hécate Kleidukos's avatar
      haddock: Remove obsolete links to github.com/haskell/haddock in the docs · a2f60da5
      Hécate Kleidukos authored and Marge Bot's avatar Marge Bot committed
      a2f60da5
    • Hécate Moonlight's avatar
      haddock: Correct the Makefile to take into account Darwin systems · 16475bb8
      Hécate Moonlight authored and Marge Bot's avatar Marge Bot committed
      16475bb8
  5. Jun 11, 2024
  6. Jun 10, 2024
    • Cheng Shao's avatar
      rts: replace ad-hoc MYTASK_USE_TLV with proper CC_SUPPORTS_TLS · f3017dd3
      Cheng Shao authored and Marge Bot's avatar Marge Bot committed
      This patch replaces the ad-hoc `MYTASK_USE_TLV` with the
      `CC_SUPPORTS_TLS` macro. If TLS support is detected by autoconf, then
      we should use that for managing `myTask` in the threaded RTS.
      f3017dd3
    • jeffrey young's avatar
      JS: establish single source of truth for symbols · 6bd850e8
      jeffrey young authored and Marge Bot's avatar Marge Bot committed
      In pursuit of: #22736.
      
      This MR moves ad-hoc symbols used throughout the js backend into a
      single symbols file. Why? First, this cleans up the code by removing
      ad-hoc strings created on the fly and therefore makes the code more
      maintainable. Second, it makes it much easier to eventually type these
      identifiers.
      6bd850e8
  7. Jun 09, 2024
  8. Jun 08, 2024
  9. Jun 07, 2024
Loading