Skip to content

Conversation

@KevinRansom
Copy link
Contributor

When using a global.json to pin the version of an sdk to an older one, I.e the last LTS version of the sdk, the F# script displays an obtrusive error when code is sent to fsi. This PR reverts the behaviour to it's original behaviour when using pre-7.0 sdks.

Before and after:
image

@KevinRansom KevinRansom requested a review from a team as a code owner April 5, 2023 21:06
Copy link
Member

@T-Gro T-Gro left a comment

Choose a reason for hiding this comment

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

Only major comment is parsing of Single with "." without passing in explicit culture.
Either pass in the culture, OR alternatively consider using Version class (had a constructor which takes the full string, therefore avoiding the need for splitting string by dots and then concatenating back).

Plus I do not see the need for "text" in executeTextNoHistory to be lazy, can it be just a plain string?

@KevinRansom KevinRansom enabled auto-merge (squash) April 17, 2023 16:39
@KevinRansom KevinRansom disabled auto-merge April 17, 2023 20:10
@KevinRansom KevinRansom merged commit b085827 into dotnet:main Apr 17, 2023
@KevinRansom KevinRansom deleted the fixshowprompt branch April 29, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants