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
thanks for the report david. i'd like to say it's a bug of mix format's to run on this code since it isn't valid elixir but what do i know? i suppose if someone defined their own with macro to work like a case statement it could be vaild.
i don't really want to update styler to handle code that can't compile, so the best thing i could do here would be to get a better exception raised or just skip over.. i'll see what i can make happen
I was missing a coma after my first function in the with block, and when running mix format I got a styler error.
Versions
Example Input
Stacktrace / Current Behaviour
** (MatchError) no match of right hand side value: [{:<-, [line: 4], [{:block, [closing: [line: 4], line: 4], [{{:block, [line: 4], [:ok]}, {:_, [line: 4], nil}}]}, {:function_one, [closing: [line: 4], line: 4], [{:app_id, [line: 4], nil}, {:identifier, [line: 4], nil}]}]}]
Skipping style and continuing on
The text was updated successfully, but these errors were encountered: