The compiler's values of a compilation are written as .Value
The compiler keeps the state of a compilation in a context (Compilation.fs, on its branch compilation-context), and a value that was a module-level mutable is a Per. The server sets Diagnostics.verbose, Paths.sourceOverrides, Paths.compilerAssembly and the five observers, each now as x.Value <- ... No change to what the server does: every check still runs in the one root context. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
ce426b94df
commit
c5acafd5dd
5 changed files with 14 additions and 14 deletions
|
|
@ -30,7 +30,7 @@ let private useInstalledCompiler () =
|
|||
let installed = IO.Path.Combine(Bjolang.Paths.root, "bin", "compiler", "Bjolang.dll")
|
||||
|
||||
if IO.File.Exists installed then
|
||||
Bjolang.Paths.compilerAssembly <- installed
|
||||
Bjolang.Paths.compilerAssembly.Value <- installed
|
||||
Environment.SetEnvironmentVariable("BJOLANG_OUT_OF_PROCESS_DEPS", "1")
|
||||
Bjolang.Build.installDependencyBackend ()
|
||||
Environment.SetEnvironmentVariable("BJOLANG_OUT_OF_PROCESS_DEPS", null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue