Skip to content

Commit

Permalink
Land #612: Check parent of ElixirVariable to check if a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KronicDeth committed Feb 10, 2017
2 parents f388821 + 705065c commit 8aa4be9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/elixir_lang/reference/Callable.java
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ public static boolean isVariable(@NotNull PsiElement ancestor) {
ancestor instanceof ElixirStabBody ||
ancestor instanceof ElixirStructOperation ||
ancestor instanceof ElixirTuple ||
ancestor instanceof ElixirVariable ||
ancestor instanceof QualifiedAlias ||
ancestor instanceof Type) {
isVariable = isVariable(ancestor.getParent());
Expand Down

0 comments on commit 8aa4be9

Please sign in to comment.