Skip to content

Commit d8d494d

Browse files
*Actually dispatched* on the logic.
1 parent 93bb224 commit d8d494d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/server/session.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,9 @@ module ts.server {
916916
break;
917917
}
918918
case CommandNames.Occurrences: {
919-
var occurrencesArgs = <protocol.FileLocationRequestArgs>request.arguments;
920-
response = this
919+
var { line, offset, file: fileName } = <protocol.FileLocationRequestArgs>request.arguments;
920+
response = this.getOccurrences(line, offset, fileName);
921+
break;
921922
}
922923
default: {
923924
this.projectService.log("Unrecognized JSON command: " + message);

0 commit comments

Comments
 (0)