Wingman inserts layout-breaking spaces when case-splitting in do block #1486
Labels
component: wingman
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
as reported by @jhrcek:
this case splits to
but notice the leading space. In expressions it doesn't matter, but here YIKES.
Seems related to alanz/ghc-exactprint#91, except that we aren't calling
addAnnotationsForPretty
anymore. Maybe generated splices just need asetPrecedingLine (-1) 0
to get rid of this leading column?The text was updated successfully, but these errors were encountered: