Skip to content

Commit

Permalink
Added element type to the debugging output
Browse files Browse the repository at this point in the history
#2104 #2013

(cherry picked from commit 8df9a2f)
  • Loading branch information
hurricup committed Aug 11, 2019
1 parent bc576e5 commit e83465b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/core/src/com/perl5/lang/perl/util/PerlUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static String getParentsChain(@Nullable PsiElement element) {
}
StringBuilder sb = new StringBuilder();
while (true) {
sb.append(element.getClass()).append(": ");
sb.append(element.getClass()).append("(").append(PsiUtilCore.getElementType(element)).append(")").append(": ");
if (element instanceof PsiFile || element.getParent() == null) {
break;
}
Expand Down

0 comments on commit e83465b

Please sign in to comment.