Skip to content

Make sure that remote ast works correctly with variables - #393

Merged
bryanjos merged 1 commit into
masterfrom
fix-shorthand-failure
Sep 9, 2017
Merged

Make sure that remote ast works correctly with variables#393
bryanjos merged 1 commit into
masterfrom
fix-shorthand-failure

Conversation

@bryanjos

@bryanjos bryanjos commented Sep 9, 2017

Copy link
Copy Markdown
Collaborator

fixes #390

end

def compile({{:., _, [{_, _, nil} = var, func_or_prop]}, _, []}, state) do
def compile({{:., _, [{_, _, atom} = var, func_or_prop]}, _, []}, state) when is_atom(atom) do

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functions should have a @SPEC type specification.

@sourcelevel-bot

Copy link
Copy Markdown

Ebert has finished reviewing this Pull Request and has found:

  • 7 fixed issues! 🎉

You can see more details about this review at https://ebertapp.io/github/elixirscript/elixirscript/pulls/393.

@bryanjos
bryanjos merged commit 95c7513 into master Sep 9, 2017
@bryanjos
bryanjos deleted the fix-shorthand-failure branch September 9, 2017 07:35
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.

& shorthand function failure case

1 participant