daml/compiler/damlc/daml-compiler
Moritz Kiefer 6016633bb7
Construct ParsedModule directly in Daml Repl (#10701)
This is a relatively large change unfortunately which unfortunately
requires reimplementing parts of the logic of the typechecker & core
compilation. I don’t think it is too bad but we might want to think
over time if we can factor this better.

This fixes #10073 and fixes #10664 by referencing the exact types
instead of going via the renamer.

There are some minor changes around error messages for "module not
found" errors. This is because these are now caught in the
typechecker instead of in our own code. We could keep the errors but
it requires duplicating even more logic and I don’t really see what it
buys us so I think I prefer the approach here.

changelog_begin

- [Daml Repl] Fix a bug where bindings with out of scope types would result in error in following lines.

changelog_end
2021-08-30 17:28:16 +02:00
..
src/DA/Daml/Compiler Construct ParsedModule directly in Daml Repl (#10701) 2021-08-30 17:28:16 +02:00
BUILD.bazel Bump ghcide and upgrade to lsp/lsp-types (#10139) 2021-06-30 12:16:12 +00:00