Skip to content

Syntax Highlighting in fsi files broken by unparenthesized tuples #2053

Open
@ghost

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions