mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
75eb554841
* Prefix IDE include paths with project root As described in #6174, `--include` is broken pretty badly in the IDE atm. LSP works based on absolute file paths so if you have a relative include dir you run into two issues: 1. You end up with two GHC sessions e.g, one for `/multidir` and one for `.`. That results in fun type errors like “Couldn’t match expected type `Text` with actual type `Text`”. 2. The same file can end up being represented twice. Apart from being horribly inefficient, this breaks as soon as we try to build a DALF since the function for constructing that (correctly) explodes when there are two files with the same module name. This change does not break `daml build` since the project root is relative there. fixes #6174 changelog_begin - [DAML Studio] Fix an issue where use of the `--include` option resulted in various confusing type errors. See https://github.com/digital-asset/daml/issues/6174 changelog_end * Stop wasting my time hlint changelog_begin changelog_end |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel |