mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-21 18:22:58 -05:00
Fix bug: handle missing symbol.parent for non-accessible symbol (#21834)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user