Skip to content

Commit

Permalink
Mark unqualified parentheses calls as call instead of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KronicDeth committed Jul 22, 2017
1 parent 6e6ba26 commit f019d59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/elixir_lang/reference/Callable.java
Expand Up @@ -435,6 +435,8 @@ private static boolean isVariable(@NotNull Call call) {
isVariable = true;
} else if (call.isCalling(Module.KERNEL, Function.VAR_BANG)) {
isVariable = true;
} else if (call instanceof UnqualifiedParenthesesCall) {
isVariable = false;
} else {
PsiElement parent = call.getParent();
isVariable = isVariable(parent);
Expand Down

0 comments on commit f019d59

Please sign in to comment.