mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-04 05:24:33 +03:00
A library for building Haskell IDE tooling
bc9a1955bd
* HOTFIX damlc: allow for passing options to the underlying GHC As `damlc` is based on GHC, it "understands" all options that GHC understands. This PR introduces a way to use GHC options that are not exposed by the `damlc` driver, by passing any number of `--ghc-option CUSTOM_OPTION` on the command line. The code uses the GHC function which parses options inside files, so prohibiting a few options that we would not want to expose (package db, output file, etc). All warnings that GHC emits during flag processing are presented to the user. If an option contradicts a DAML compiler setting, the compilation will be aborted with a GHC exception (calls makeDynFlagsConsistent internally). * HOTFIX damlc: small clean-up |
||
---|---|---|
src/Development/IDE | ||
BUILD.bazel |