Skip to content

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