-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script support to the TransparentCompiler #16627
Conversation
|
… lock, it might be a better approach to just use the one from the BackgroundCompiler
… 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
…les and a single source file means we are doing a script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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? |
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. |
This reverts commit edbede8.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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: