Holmusk / elm-street

:deciduous_tree: Crossing the road between Haskell and Elm
Mozilla Public License 2.0
88 stars 6 forks source link

Incorrect indentation on universe definition for long enums #64

Closed arbus closed 5 years ago

arbus commented 5 years ago

Currently, when elm-street tries to render the universe variable for a enum with long type names, it renders is like so:

universeErrors : List Errors
universeErrors = [ Error1
, Error2
, Error3
, Error4
, Error5 ]

which in turn does not compile due to incorrect indentation.