Fix null error in importTracker: VariableDeclaration might not have a VariableStatement ancestor

This commit is contained in:
Andy Hanson
2017-04-21 07:53:09 -07:00
parent 8534b430be
commit 4ff180d814
3 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
/// <reference path="fourslash.ts" />
////try { }
////catch ([|{| "isWriteAccess": true, "isDefinition": true |}err|]) {
//// [|err|];
////}
verify.singleReferenceGroup("var err: any");