TypeScript/tests/cases/fourslash/documentHighlightsInvalidModifierLocations.ts
Andrew Branch e82d0af554
Fix readonly occurrences highlighting (#32583)
* Fix readonly occurrences highlighting

* Rename function

* Rename again

* Apply suggestions from code review

Remove unused function
2019-08-02 18:24:46 -07:00

16 lines
283 B
TypeScript

/// <reference path="fourslash.ts" />
////class C {
//// m([|readonly|] p) {}
////}
////function f([|readonly|] p) {}
////
////class D {
//// m([|public|] p) {}
////}
////function g([|public|] p) {}
for (const r of test.ranges()) {
verify.documentHighlightsOf(r, [r]);
}