You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When combining elm-codegen with elm-review you can end up with invalid indentation. E.g. given
{-| @generated-by_elm-review-codegen-}encodeTuple: ( Bool, Int ) ->Json.Encode.ValueencodeTuple foo =Debug.todo ""
and expecting the result of
encodeTuple: ( Bool, Int ) ->Json.Encode.ValueencodeTuple foo =case food of( first, second )->Json.Encode.list identity
[Json.Encode.bool first,Json.Encode.int second ]
or possibly
encodeTuple: ( Bool, Int ) ->Json.Encode.ValueencodeTuple foo =case food of( first, second )->Json.Encode.list identity
[Json.Encode.bool first,Json.Encode.int second ]
but instead I get
encodeTuple: ( Bool, Int ) ->Json.Encode.ValueencodeTuple foo =case foo of( first, second )->Json.Encode.list identity
[Json.Encode.bool first,Json.Encode.int second ]
Given that I have indentation information from elm-review it'd be nice to be able to do Elm.toStringWithIndentationOf range.start.column someExpression (or such).
The text was updated successfully, but these errors were encountered:
When combining
elm-codegen
withelm-review
you can end up with invalid indentation. E.g. givenand expecting the result of
or possibly
but instead I get
Given that I have indentation information from
elm-review
it'd be nice to be able to doElm.toStringWithIndentationOf range.start.column someExpression
(or such).The text was updated successfully, but these errors were encountered: