Skip to content

(Fix) Haskell added 'where' inside data block. Resolves #3753 - #3754

Closed
Somarfagell wants to merge 1 commit into
highlightjs:mainfrom
Somarfagell:HaskellFix
Closed

Somarfagell wants to merge 1 commit into
highlightjs:mainfrom
Somarfagell:HaskellFix

Conversation

@Somarfagell

Copy link
Copy Markdown

Changes

The where keyword in the Haskell GADT syntax wasn't highlighted correctly, adding 'where' keyword inside the data block correct the issue.

Added 'where' keyword inside data block inside haskell.js

Checklist

  • Added markup tests
  • Updated the changelog at CHANGES.md

@joshgoebel

Copy link
Copy Markdown
Member

Nice, but is this also correct for type and newtype blocks also?

1 similar comment
@joshgoebel

Copy link
Copy Markdown
Member

Nice, but is this also correct for type and newtype blocks also?

@Somarfagell

Copy link
Copy Markdown
Author

Nice, but is this also correct for type and newtype blocks also?

I haven't checked, but I suppose it would work, Do you want me to check it? 👀

@joshgoebel

Copy link
Copy Markdown
Member

It should work [as in be highlighted], but is that correct and valid Haskell? I don't know when where is and isn't supposed to be a keyword.

@joshgoebel

Copy link
Copy Markdown
Member

Ping.

@joshgoebel

Copy link
Copy Markdown
Member

Closing older PRs without activity. When you have time to come back to this we can reopen.

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

Successfully merging this pull request may close these issues.

2 participants