Uh oh!
There was an error while loading. Please reload this page.
Add script support to the TransparentCompiler - #16627
Conversation
|
… lock, it might be a better approach to just use the one from the BackgroundCompiler
Uh oh!
There was an error while loading. Please reload this page.
… under a lock, it might be a better approach to just use the one from the BackgroundCompiler" This reverts commit adfe730.
- Cache it via AsyncMemoize - very WIP
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…les and a single source file means we are doing a script
0101
left a comment
There was a problem hiding this comment.
Looks good!
Can you try to run it in CI with this: b47ba47 (either add here on new branch) ?
It's a bit ghetto way of testing, but actually this PR should resolve the last failures there and then we can add a proper CI leg with experimental features enabled.
dawedawe
commented
Feb 6, 2024
Seems like this is causing the last failures: If we just set it to Contrary to that, Is the old behaviour really the one we want to have in future? |
0101
commented
Feb 6, 2024
Hmm, interesting I remember I thought those failures were somehow related to the load closure, have to look at it again. This Anyway, not a blocker for script support I would say, so you can revert the tests and I think we can merge this. |
dawedawe
commented
Feb 6, 2024
Great, thanks for the help and hints with this one :) |
Oh, I remember, the test is actually first complaining about fsharp/src/Compiler/Service/IncrementalBuild.fs Line 1492 in 3ac064e Which now we also have, but probably are not passing it to the dependency files from there. Edit: nevermind, it's there in the |
0101
left a comment
There was a problem hiding this comment.
Thanks a lot for this!
I didn't put Transparent Compiler into the release notes, since it's experimental and not officially supported, but if you want you can add this.
dawedawe
commented
Feb 6, 2024
Mmh no, I think this PR is just part of the whole story and doesn't need it's own entry. |
Description
A naive first stab at bringing script support to the TransparentCompiler.
(No release notes needed, I think)
Checklist
Test cases added
Performance benchmarks added in case of performance changes
Release notes entry updated: