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 declaring any type of structure (maps, structs, lists, etc...) or making a function call that span more than one line the indentation is off to the left.
As you can see @invalid_attrs %{} is indented one space to the left less.
Here is how it looks for a function call, it indents the remaining lines in the block at the same level as the parameters minus 2 spaces.
test"changeset with invalid attributes"dochangeset=Shipment.changeset(%Shipment{},@invalid_attrs)refutechangeset.valid?end
The first case is a problem that I noticed a few weeks back, the second one appeared after updating to the latest release (I was a few releases back so not sure in which one it was introduced).
The text was updated successfully, but these errors were encountered:
When declaring any type of structure (maps, structs, lists, etc...) or making a function call that span more than one line the indentation is off to the left.
As you can see
@invalid_attrs %{}
is indented one space to the left less.Here is how it looks for a function call, it indents the remaining lines in the block at the same level as the parameters minus 2 spaces.
The first case is a problem that I noticed a few weeks back, the second one appeared after updating to the latest release (I was a few releases back so not sure in which one it was introduced).
The text was updated successfully, but these errors were encountered: