Merge pull request #12898 from Microsoft/NavigateToFixForIIFE

NavigateTo is not working correctly for declarations in IIFEs
This commit is contained in:
jramsay authored and GitHub committed 2016-12-14 10:56:44 -08:00
commit 2e97cffe61
2 files changed
+20 -2

No files matched your search

+1 -2
View File
@@ -592,9 +592,8 @@ namespace ts {
else {
declarations.push(functionDeclaration);
}
forEachChild(node, visit);
}
forEachChild(node, visit);
break;
case SyntaxKind.ClassDeclaration: