mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Include the target symbol in search if location is propertyName or the import or export specifier dont specify "as" clause
Handles #7708
This commit is contained in:
1 parent
ace2285ac2
commit
01ca100d16
2 files changed
+50
-29
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @Filename: a.ts
|
||||
////export var /*1*/a;
|
||||
|
||||
// @Filename: b.ts
|
||||
////import { /*2*/a } from './a';
|
||||
////export { /*3*/a };
|
||||
|
||||
goTo.file("a.ts");
|
||||
goTo.marker("1");
|
||||
|
||||
goTo.file("b.ts");
|
||||
goTo.marker("2");
|
||||
verify.referencesCountIs(3);
|
||||
|
||||
goTo.marker("3");
|
||||
verify.referencesCountIs(3);
|
||||
Reference in new issue
Block a user