Skip to content

Conversation

@maksbotan
Copy link
Contributor

Perhaps the safest way for now is to revert to old behavior for data
types -- i.e. do nothing. Attemmpt reformatting only if at least one
constructor has record fields.

Fixes #262

Perhaps the safest way for now is to revert to old behavior for data
types -- i.e. do nothing. Attemmpt reformatting only if at least one
constructor has record fields.

Fixes haskell#262
@lukasz-golebiewski lukasz-golebiewski merged commit 41dcda2 into haskell:master Feb 2, 2020
@maksbotan maksbotan deleted the maksbotan/fix-enums-restyle-records branch February 2, 2020 17:47
@danstn
Copy link

danstn commented Feb 24, 2020

How soon will a version with this fix be released you reckon? @jaspervdj

Kinda broke styling for the whole codebase :)

@jaspervdj
Copy link
Member

@danbst Sorry, this fell off my radar! I'll upload a new version today.

@jaspervdj
Copy link
Member

@danbst Released as v0.11.0.0!

@danstn
Copy link

danstn commented Feb 25, 2020

What a legend! Thank you @jaspervdj :)

iphydf added a commit to iphydf/ci-tools that referenced this pull request Mar 6, 2020
See haskell/stylish-haskell#265. Without this,
stylish-haskell deletes many comments and is generally broken.
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.

Enum formatting

4 participants