Fix bug: handle missing symbol.parent for non-accessible symbol (#21834)

This commit is contained in:
Andy
2018-02-09 13:48:40 -08:00
committed by GitHub
parent 6dd88b39d5
commit aa1ebda6a6
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
/// <reference path="fourslash.ts" />
////function f() {
//// class C {}
//// return (c: C) => void;
////}
////f()(new /**/);
goTo.marker("");
verify.not.completionListContains("C"); // Not accessible