-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
Description
Description
fsharp-mode does not accurately finds the whole phrase with an if/then/else construct.
Repro steps
Type the follwong, set th text cursoron the closing parenthesis. I used "mark phrase" for the screenshot, but evaluating the phrase gives en F# error error FS0010: Unexpected keyword 'else' in interaction

Expected behavior
I would expect the whole let rec to be considered as the phrase.
Actual behavior
Please provide a description of the actual behaviour you observe.
Known workarounds
Selecting phrase manually and using evaluate region.
Related information
- Operating system Linux
- Branch XUbuntu 16.04
- Emacs version 25
- .NET Runtime, CoreCLR or Mono Version
- Performance information, links to performance testing scripts