Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mix.ex to prevent some warnnings #129

Merged
merged 1 commit into from
Nov 6, 2016

Conversation

pedrosnk
Copy link
Contributor

@pedrosnk pedrosnk commented Nov 2, 2016

On the newest version of elixir calling a function with arity 0 without parenthesis generates a warning

On the newest version of elixir calling a function with arity 0 without parenthesis generates a warning
@jerodsanto
Copy link
Member

@pedrosnk oh wow I'm gonna get hit by that one all over the place. 😱

Is this an Elixir 1.4 thing? Have any background on why? (I have a few guesses)

@pedrosnk
Copy link
Contributor Author

pedrosnk commented Nov 2, 2016

There's an issue for that elixir-lang/elixir#3268 It may cause some inconsistency, but it still is a valid syntax.
Alson ont he same topic elixir-lang/elixir#3517

@jerodsanto jerodsanto merged commit 6bda77f into thechangelog:master Nov 6, 2016
@jerodsanto
Copy link
Member

Interesting, thanks for the heads up! 💚💚💚

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.

2 participants