highlightjs/highlight.js

(Haskell) GADT syntax highlighted incorrectly

Open

#3,753 opened on 2023年4月11日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (22,960 stars) (3,497 forks)batch import
buggood first issuehelp welcomelanguage

説明

Describe the issue

The where keyword in the Haskell GADT syntax is not highlighted correctly

Which language seems to have the issue?

haskell

Are you using highlight or highlightAuto?

highlightElement

Sample Code to Reproduce

https://jsfiddle.net/8j5zb4ny/1/

Expected behavior

The where keyword at the end of the first line should get a different highlighting to show that it is not a type variable

コントリビューターガイド