Skip to content
Snippets Groups Projects
  1. Sep 25, 2019
    • Kari Pahula's avatar
      Add -Wderiving-defaults (#15839) · 2970dc7a
      Kari Pahula authored and Marge Bot's avatar Marge Bot committed
      Enabling both DeriveAnyClass and GeneralizedNewtypeDeriving can cause
      a warning when no explicit deriving strategy is in use. This change adds
      an enable/suppress flag for it.
      2970dc7a
    • Matthew Pickering's avatar
      Add ghcide configuration files · 218c5dbf
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      This commit adds three new files
      
      1. A hie.yaml file to the project root which specifies to IDEs how to
      set up the correct environment for loading GHC. This currently
      specifies to call the `./hadrian/hie-bios` script.
      2. A `hie.yaml` file for the hadrian subcomponent, which uses the
      `cabal` cradle type.
      2. The `./hadrian/hie-bios` script which supplies the correct arguments
      for an IDE to start a session.
      
      With these two files it is possible to run
      
      ```
      ghcide compiler/
      ```
      
      and successfully load all the modules for use in the IDE.
      
      or
      
      ```
      ghcide --cwd hadrian/ src/
      ```
      
      to test loading all of Hadrian's modules.
      
      Closes #17194
      218c5dbf
    • Andreas Klebinger's avatar
      Fix bounds check in ocResolve_PEi386 for relocation values. · ed520678
      Andreas Klebinger authored and Marge Bot's avatar Marge Bot committed
      The old test was wrong at least for gcc and the value -2287728808L.
      
      It also relied on implementation defined behaviour (right shift
      on a negative value), which might or might not be ok.
      Either way it's now a simple comparison which will always work.
      ed520678
  2. Sep 24, 2019
  3. Sep 23, 2019
  4. Sep 22, 2019
Loading