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

Syntax Highlighting in fsi files broken by unparenthesized tuples #2053

Open
glchapman opened this issue Nov 30, 2024 · 0 comments
Open

Syntax Highlighting in fsi files broken by unparenthesized tuples #2053

glchapman opened this issue Nov 30, 2024 · 0 comments

Comments

@glchapman
Copy link

In fsi files, the F# compiler allows declarations like these:

val pair : 'a -> 'b -> 'a * 'b
val fst : 'a * 'b -> 'a

However, in Ionide VSCode, such declarations mess up the syntax highlighting for ensuing lines (see Broken.fsi in attached project). The highlighting can be fixed by enclosing tuple types in parentheses (as in Fixed.fsi), but it would be nice if the highlighting handled the unparenthesized cases.
SynHighlightExamples.zip

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

No branches or pull requests

1 participant