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 span bug #3180 #3181

Merged
merged 1 commit into from
Jun 6, 2017
Merged

fix span bug #3180 #3181

merged 1 commit into from
Jun 6, 2017

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Jun 6, 2017

This is a stabilization fix to ensure that problems with spans are not catastrophic

See #3180

The technique is simply to use the "Try" version of the FSharpRangeToTextSpan function everywhere, and to make FSharpRangeToTextSpan itself fail less often, trimming to the range of the document

Copy link
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

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

Code looks fine and I like the move to TryFSharpRangeToTextSpan being ubiquitous.

@KevinRansom KevinRansom merged commit c4a8ff2 into dotnet:master Jun 6, 2017
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
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.

4 participants