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

Fix #2060: Restore variable evaluation in FSI #2061

Merged
merged 1 commit into from
Feb 12, 2025
Merged

Conversation

enzian
Copy link
Contributor

@enzian enzian commented Feb 12, 2025

This reverts a change made in 5fcad29. This fixes the issue (#2060 )of no values being shown after evaluating expressions in FSI. I am however a bit uneasy about introducing null back into the codebase so: suggestions are very welcome!

…ion of values when watcher.fsx is used
@TheAngryByrd
Copy link
Member

cc @isaacabraham

@TheAngryByrd
Copy link
Member

Looks like null is the correct value here https://github.com/dotnet/fsharp/blob/79e8531d168b4c1daf7593cf52a392799ba7a130/src/Compiler/Interactive/fsi.fs#L646

so maybe their API should adjust allowing for nulls in the api.

Copy link
Member

@TheAngryByrd TheAngryByrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TheAngryByrd TheAngryByrd merged commit 3d651a8 into ionide:main Feb 12, 2025
2 checks passed
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.

2 participants