*Actually dispatched* on the logic.

This commit is contained in:
Daniel Rosenwasser 2015-04-08 00:41:12 -07:00
parent 93bb224545
commit d8d494d4da

View File

@ -916,8 +916,9 @@ module ts.server {
break;
}
case CommandNames.Occurrences: {
var occurrencesArgs = <protocol.FileLocationRequestArgs>request.arguments;
response = this
var { line, offset, file: fileName } = <protocol.FileLocationRequestArgs>request.arguments;
response = this.getOccurrences(line, offset, fileName);
break;
}
default: {
this.projectService.log("Unrecognized JSON command: " + message);