Make sure we rehydrate uri in resolve rename location

Fixes #48592
This commit is contained in:
Matt Bierner
2018-04-24 17:10:45 -07:00
parent 568b1c49d4
commit 1e7095ee31

View File

@@ -1116,7 +1116,7 @@ export class ExtHostLanguageFeatures implements ExtHostLanguageFeaturesShape {
}
$resolveRenameLocation(handle: number, resource: URI, position: IPosition): TPromise<modes.RenameLocation> {
return this._withAdapter(handle, RenameAdapter, adapter => adapter.resolveRenameLocation(resource, position));
return this._withAdapter(handle, RenameAdapter, adapter => adapter.resolveRenameLocation(URI.revive(resource), position));
}
// --- suggestion