-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Unnecessary conversion from 'YieldOrReturn' to 'YieldOrReturnFrom' #339
Comments
From the investigation, it appears that a mismatch in |
Thanks @zakaluka. I reiterate here:
@7sharp9, @auduchinok do you see any problem with Fantomas upgade to FSharp.Compiler.Service 25.0.1? |
@jindraivanek No, no problem at all on our side. |
@zakaluka the new release is out, could you confirm the problem is solved and close the issue if so? |
@nojaf I am traveling for the next few weeks, but will try to test this as soon as I am able. Unfortunately, the code I was testing on is on a desktop I do not currently have access to. I will see if I can just create a new project and test the results there. |
Hi @zakaluka, no worries. Life happens. Thanks for replying and following this up. |
@nojaf I've confirmed that the issue is not occurring any longer. Closing. |
Per @jindraivanek's request, I am splitting off the second issue from #315.
Second question is about when I format through the Fantomas library and FAKE. I am seeing the following error message when I try to run the
Server.fs
file throughcheckCode
.If I comment out all the computation expressions in
Server.fs
, then that error goes away. However, any computation express inServer.fs
causes the error to be printed out. Because of this, I'm concerned about runningServer.fs
throughformatCode
.I even tried leaving only one computation expression
Server.fs
:Based on what I saw in Fantomas, this is a
YieldOrReturn
. I still get the same error message. Why is Fantomas trying to change this toYieldOrReturnFrom
(akareturn!
)?@jindraivanek confirmed some additional details:
It's weird because with CLI this code will be formatted without problem.
The text was updated successfully, but these errors were encountered: