2016-01-06 19:27:31 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|import [|{| "contextRangeIndex": 0 |}a|] from "module";|]
|
|
|
|
////[|export { [|{| "contextRangeIndex": 2 |}a|] };|]
|
2016-01-06 19:27:31 +01:00
|
|
|
|
2019-05-31 23:40:59 +02:00
|
|
|
const [r0Def, r0, r1Def, r1] = test.ranges();
|
2018-11-14 18:09:00 +01:00
|
|
|
verify.renameLocations(r0, [r0, { range: r1, suffixText: " as a" }]);
|
|
|
|
verify.renameLocations(r1, [{ range: r1, prefixText: "a as " }]);
|