Skip to content
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

Pass --multiemit- as default option for FsiEvaluator. #816

Merged
merged 2 commits into from
Jun 15, 2023

Conversation

nojaf
Copy link
Collaborator

@nojaf nojaf commented Apr 5, 2023

After updating to v18 in Fantomas, we noticed that Linux is no longer processing (*** include-output ***).

When locally (in WSL) adding --multiemit- to FsiEvaluator is started working again.
I propose we ship this out of the box.

Thoughts @baronfel?

Verified

This commit was signed with the committer’s verified signature.
altjohndev Jonathan Moraes

Verified

This commit was signed with the committer’s verified signature.
altjohndev Jonathan Moraes
@dsyme
Copy link
Contributor

dsyme commented Apr 14, 2023

It would be good to understand what the problem is. Any specifics?

It's ok to turn off multiemit (it's primarily for debug symbols) but I'd like to understand better what's failing.

@nojaf
Copy link
Collaborator Author

nojaf commented Apr 14, 2023

@dsyme it first surfaced during the upgrade to FCS 43.

Some eval calls would stop working after the second invocation.
It was a bit icky to troubleshoot, it would happen when you run two unit tests (from FSharp.Literate.Tests.Eval) sequentially.
Running either test individually would work, but the last test would fail after evaluation.

@nojaf
Copy link
Collaborator Author

nojaf commented Jun 15, 2023

We should definitely investigate this behaviour, but I'm going to merge this in for the time being as it does break certain use cases.

@nojaf nojaf merged commit 5781638 into fsprojects:main Jun 15, 2023
@nhirschey
Copy link
Collaborator

This didn’t bump the release. The nuget version is still 18.1.0

https://www.nuget.org/packages/FSharp.Formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants