mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(no message)
This commit is contained in:
@@ -30,7 +30,8 @@ public class LocalsControlFlowPolicy implements ControlFlowPolicy {
|
||||
else{
|
||||
codeFragement = ControlFlowUtil.findCodeFragment(refElement);
|
||||
}
|
||||
if (!myCodeFragment.equals(codeFragement)) return null;
|
||||
if (myCodeFragment.getContainingFile() == codeFragement.getContainingFile() && //In order for jsp includes to work
|
||||
!myCodeFragment.equals(codeFragement)) return null;
|
||||
return (PsiVariable)refElement;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user