2015-05-19 21:43:58 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|function /*1*/[|{| "contextRangeIndex": 0 |}f|]() {
|
2015-05-19 21:43:58 +02:00
|
|
|
//// return 100;
|
2019-05-31 23:40:59 +02:00
|
|
|
////}|]
|
2015-05-19 21:43:58 +02:00
|
|
|
////
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|export default /*2*/[|{| "contextRangeIndex": 2 |}f|];|]
|
2015-05-19 21:43:58 +02:00
|
|
|
////
|
|
|
|
////var x: typeof /*3*/[|f|];
|
|
|
|
////
|
|
|
|
////var y = /*4*/[|f|]();
|
|
|
|
////
|
2015-05-21 21:28:02 +02:00
|
|
|
/////**
|
2017-01-26 20:02:08 +01:00
|
|
|
//// * Commenting [|{| "inComment": true |}f|]
|
2015-05-21 21:28:02 +02:00
|
|
|
//// */
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|namespace /*5*/[|{| "contextRangeIndex": 7 |}f|] {
|
2015-05-19 21:43:58 +02:00
|
|
|
//// var local = 100;
|
2019-05-31 23:40:59 +02:00
|
|
|
////}|]
|
2015-05-19 21:43:58 +02:00
|
|
|
|
2019-05-31 23:40:59 +02:00
|
|
|
const ranges = test.rangesByText().get("f");
|
2017-01-26 20:02:08 +01:00
|
|
|
verify.renameLocations(ranges.filter(r => !(r.marker && r.marker.data.inComment)), { findInComments: true, ranges });
|