You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/checker.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -780,7 +780,7 @@ module ts {
780
780
// But it cant, hence the accessible is going to be undefined, but that doesnt mean m.c is accessible
781
781
// It is accessible if the parent m is accessible because then m.c can be accessed through qualification
782
782
meaningToLook=getQualifiedLeftMeaning(meaning);
783
-
symbol=symbol.parent;
783
+
symbol=getParentOfSymbol(symbol);
784
784
}
785
785
786
786
// This could be a symbol that is not exported in the external module
@@ -903,7 +903,7 @@ module ts {
903
903
if(accessibleSymbolChain&&!needsQualification(accessibleSymbolChain[0],enclosingDeclaration,accessibleSymbolChain.length===1 ? meaning : getQualifiedLeftMeaning(meaning))){
0 commit comments