daml/compiler/damlc/daml-ide-core
Moisés Ackerman 0c8f2ed43e
LF conversion: split Env (#14566)
* LF conversion: split Env type into Env+ModuleContents

Env is now limited to information _about_ the module and the compilation environment, as well as compiler state such as local aliases and a fresh tyvar name supply
ModuleContents has the fields from old Env which are extracted from type, class and function declarations in the module being converted

* rename x=>coreModule

* Extract convertBinds function

* Extract convertTypeDefs function

* move binds into ModuleContents

* Move typeDefs into ModuleContents

* Move depOrphanModules into ModuleContents

* Move exports into ModuleContents

* Move fixities into ModuleContents

* Extract mkEnv function

* Extract convertModuleContents function

* Remove unused fields {Env,DamlEnv}.envIsGenerated

* Remove unused field ModuleContents.mcInterfaceChoiceData

* Remove unused field ModuleContents.mcInterfaceBinds

changelog_begin
changelog_end
2022-07-29 09:15:26 +02:00
..
src/Development/IDE/Core LF conversion: split Env (#14566) 2022-07-29 09:15:26 +02:00
test/Development/IDE/Core/API Enable go-to-definition for interfaces (#12865) 2022-02-11 11:01:30 +00:00
BUILD.bazel update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
dlint.yaml hunt down DAML (#13191) 2022-03-08 14:25:25 +01:00