mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor
This commit is contained in:
8
tests/cases/fourslash/findAllRefsCatchClause.ts
Normal file
8
tests/cases/fourslash/findAllRefsCatchClause.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////try { }
|
||||
////catch ([|{| "isWriteAccess": true, "isDefinition": true |}err|]) {
|
||||
//// [|err|];
|
||||
////}
|
||||
|
||||
verify.singleReferenceGroup("var err: any");
|
||||
Reference in New Issue
Block a user