Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tonini
Copy link
Contributor

@tonini tonini commented Apr 12, 2016

This fixes the issue where statement keywords like for, if, else etc are used in a dot call syntax like the following:

defmodule Whois do
  def lookup1(domain) do
    case Server.for(domain) do <-
      {:ok, server} -> server
      :error -> {:error, :unsupported}
    end
  end
end

fixes #323

@tonini tonini merged commit af713e6 into master Apr 12, 2016
@tonini tonini deleted the handle-dots-in-indentations branch April 12, 2016 19:23
J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling a function named for in case or if messes up indentation of body
1 participant