daml/compiler
Moritz Kiefer 104376ac65
Pass uninitialized mkOptions to initPackageDb (#4291)
`initPackageDb` assumes that `Options` has not yet been initialized
and calls `mkOptions` itself. Each call to `mkOptions` appends the LF
version to the package db dir which means that calling it twice as we
did in `execIde` results in pkg dbs of the form dir/1.7/1.7 which is
obviously not what we want.

This is just the fix, I’m sufficiently annoyed by this now, that I’ll
spend some time tomorrow to kill mkOptions completely but for now this
at least fixes the SDK on master.

The reason why we didn’t catch this in our tests is that the package
dbs are located slightly differently via Bazel runfiles as they are
located in the final release tarball which ended up not breaking this
in our LSP tests.

changelog_begin
changelog_end
2020-01-30 19:14:16 +00:00
..
daml-extension upgrading to newest nodejs_rules (#4057) 2020-01-16 15:55:32 +01:00
daml-lf-ast Convert type classes to LF type synonyms (#4023) 2020-01-24 09:24:45 +00:00
daml-lf-proto Type checking DAML-LF type synonyms (#3959) 2020-01-10 17:51:51 +00:00
daml-lf-reader update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
daml-lf-tools check for and reject cyclic type synonym definitions (#4026) 2020-01-13 17:32:55 +00:00
daml-licenses remove MissingH (#3948) 2020-01-06 14:36:14 +01:00
damlc Pass uninitialized mkOptions to initPackageDb (#4291) 2020-01-30 19:14:16 +00:00
ghcide Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
hie-core Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
lsp-tests Bump ghcide to fix GHC panics in LSP tests (#4176) 2020-01-24 08:40:57 +00:00
scenario-service Run scalafmt on all files and fix the errors. (#4260) 2020-01-29 16:15:49 +00:00
ghcide-daml.sh update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

DAML Compiler

This directory contains several libraries used by and the executable for the DAML compiler.

Libraries

  • daml-lf-ast: The DAML-LF AST and type checker.