-
Notifications
You must be signed in to change notification settings - Fork 586
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
Fake.Core.Process: stop using old ref-cell operators #2674
Fake.Core.Process: stop using old ref-cell operators #2674
Conversation
d21651c
to
88f8ed4
Compare
Oops, CI was failing because I made a typo (forgot a <- operator) in one line. Fixed. CI should be green now. |
Hi thanks for the PR |
The new version of the F# compiler now flags these occurrences as deprecated. The messages are of two kinds: 1) info FS3370: The use of ':=' from the F# library is deprecated. See https://aka.ms/fsharp-refcell-ops. For example, please change 'cell := expr' to 'cell.Value <- expr'. 2) info FS3370: The use of '!' from the F# library is deprecated. See https://aka.ms/fsharp-refcell-ops. For example, please change '!cell' to 'cell.Value'.
88f8ed4
to
b5f484e
Compare
Done. |
Can you please check if other parts of the FAKE repo have usage for these operators and replace them the same way? |
Seems like a lot of work to me, I'd prefer if other contributor finishes it. |
Thanks for the PR, other places that use old ref-cell operators are replaced in v6 branch. |
The new version of the F# compiler now flags these occurrences as deprecated.
The messages are of two kinds:
info FS3370: The use of ':=' from the F# library is deprecated.
See https://aka.ms/fsharp-refcell-ops.
For example, please change 'cell := expr' to 'cell.Value <- expr'.
info FS3370: The use of '!' from the F# library is deprecated.
See https://aka.ms/fsharp-refcell-ops.
For example, please change '!cell' to 'cell.Value'.