Fix wrong script info used to resolve line/offset for call hierarchy items (#36559)

This commit is contained in:
Ron Buckton
2020-01-31 14:41:25 -08:00
committed by GitHub
parent 01af3aa483
commit 9a357c19f3
5 changed files with 110 additions and 29 deletions

View File

@@ -0,0 +1,19 @@
/// <reference path="fourslash.ts" />
// @filename: /a.ts
////export function /**/createModelReference() {}
// @filename: /b.ts
////import { createModelReference } from "./a";
////function openElementsAtEditor() {
//// createModelReference();
////}
// @filename: /c.ts
////import { createModelReference } from "./a";
////function registerDefaultLanguageCommand() {
//// createModelReference();
////}
goTo.marker();
verify.baselineCallHierarchy();