2016-05-04 02:08:06 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////interface I {
|
|
|
|
//// prop1: () => void;
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "contextRangeIndex": 0 |}prop2|](): void;|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////}
|
|
|
|
////
|
|
|
|
////var o1: I = {
|
|
|
|
//// prop1() { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "contextRangeIndex": 2 |}prop2|]() { }|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o2: I = {
|
|
|
|
//// prop1: () => { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|[|{| "contextRangeIndex": 4 |}prop2|]: () => { }|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o3: I = {
|
|
|
|
//// get prop1() { return () => { }; },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|get [|{| "contextRangeIndex": 6 |}prop2|]() { return () => { }; }|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o4: I = {
|
|
|
|
//// set prop1(v) { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|set [|{| "contextRangeIndex": 8 |}prop2|](v) { }|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o5: I = {
|
|
|
|
//// "prop1"() { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|"[|{| "contextRangeIndex": 10 |}prop2|]"() { }|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o6: I = {
|
|
|
|
//// "prop1": function () { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|"[|{| "contextRangeIndex": 12 |}prop2|]": function () { }|]
|
2016-05-04 02:08:06 +02:00
|
|
|
////};
|
2016-05-04 07:40:40 +02:00
|
|
|
////
|
|
|
|
////var o7: I = {
|
|
|
|
//// ["prop1"]: function () { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|["[|{| "contextRangeIndex": 14 |}prop2|]"]: function () { }|]
|
2016-05-04 07:40:40 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o8: I = {
|
|
|
|
//// ["prop1"]() { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|["[|{| "contextRangeIndex": 16 |}prop2|]"]() { }|]
|
2016-05-04 07:40:40 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o9: I = {
|
|
|
|
//// get ["prop1"]() { return () => { }; },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|get ["[|{| "contextRangeIndex": 18 |}prop2|]"]() { return () => { }; }|]
|
2016-05-04 07:40:40 +02:00
|
|
|
////};
|
|
|
|
////
|
|
|
|
////var o10: I = {
|
|
|
|
//// set ["prop1"](v) { },
|
2019-06-13 21:25:02 +02:00
|
|
|
//// [|set ["[|{| "contextRangeIndex": 20 |}prop2|]"](v) { }|]
|
2016-05-04 07:40:40 +02:00
|
|
|
////};
|
2016-05-04 02:08:06 +02:00
|
|
|
|
2019-06-05 22:45:03 +02:00
|
|
|
verify.rangesWithSameTextAreRenameLocations("prop2");
|