From 0822f5b58945b0ca32b36fde92198e8b3a440fa2 Mon Sep 17 00:00:00 2001 From: anqiansong Date: Thu, 20 Jan 2022 22:48:58 +0800 Subject: [PATCH] fix #8 --- src/main/java/cn/xiaoheiban/psi/nodes/ApiRootNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/xiaoheiban/psi/nodes/ApiRootNode.java b/src/main/java/cn/xiaoheiban/psi/nodes/ApiRootNode.java index cbdf8fc..3ed373e 100644 --- a/src/main/java/cn/xiaoheiban/psi/nodes/ApiRootNode.java +++ b/src/main/java/cn/xiaoheiban/psi/nodes/ApiRootNode.java @@ -240,7 +240,7 @@ private PsiElement resolve(PsiDirectory directory, PsiNamedElement element, Set< } for (PsiDirectory d : subdirectories) { - PsiElement psiElement = resolve(d); + PsiElement psiElement = resolve(d,element,expectedPath); if (psiElement != null) { return psiElement; }