haskell / haskell/haskell-language-server

the syntax highlighting of a field name used as a function and a field used with `-XOverloadedRecordDot` should look the same

Open
#4,501 3 comments 0 reactions 0 assignees View on GitHub
component: semantic-tokens type: bug type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

## Is your enhancement request related to a problem? Please describe.

- for some reason, fields when used as functions get highlighted as fields, but when used as accessors using overloaded record dot, get highlighted as functions

## Describe the solution you'd like

- both get highlighted as record accessors (distinct from function highlighting)

## Describe alternatives you've considered

n/a

## Additional context

- I'm using semantic highlighting

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.