Skip to content

Row types in where clause signatures break highlighting for the clause #65

Description

@nwolverson

A row type (foo :: Bar) included in a type signature of a function in a where clause seems to be breaking highlighting for the rest of the where block (in vscode). The same issue is not appearing at the top level, I think.

module TestHighlight where

x = 3
  where
  good :: { x :: Int } -> Int
  good _ = y + z

  something = good

z = 4
  where
  bad :: Record (x :: Int) -> Int
  bad _ = y + z

  something = ugly

The issue goes away if I go back to vscode extension back in 2021 (which I assume I was somehow on already - our code has a bunch of large where blocks and it is impossible to miss), possibly introduced around here a28890a

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