293816875c
* Support some late-bound special property assignments * Integrate PR feedback * PR feedback * Enable declaration on core tests * Specialize type of binary expression used for late binding, speculative fix to navigation bar, merge check and type for elem/property accesses * Add test showing current nav bar behavior (specifically the lack thereof)
13 lines
497 B
TypeScript
13 lines
497 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////const x = function () { return 111111; }
|
|
////x.[|{| "isWriteAccess": true, "isDefinition": true |}someProperty|] = 5;
|
|
////x["[|{| "isWriteAccess": true, "isDefinition": true |}someProperty|]"] = 3;
|
|
|
|
const ranges = test.ranges();
|
|
const [r0, r1] = ranges;
|
|
verify.referenceGroups(r0, [{ definition: '(property) x.someProperty: number', ranges }]);
|
|
verify.referenceGroups([r1], [
|
|
{ definition: '(property) x.someProperty: number', ranges: [r0, r1] },
|
|
]);
|