0a7c92864d
* Allow object.defineProperty calls to be expando properties * Fix rename locations for object.defineProperty assignments
17 lines
536 B
TypeScript
17 lines
536 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// @Filename: index.js
|
|
////var CircularList = (function () {
|
|
//// var CircularList = function() {};
|
|
//// Object.defineProperty(CircularList.prototype, "[|maxLength|]", { value: 0, writable: true });
|
|
//// CircularList.prototype.push = function (value) {
|
|
//// // ...
|
|
//// this.[|maxLength|] + this.[|maxLength|]
|
|
//// }
|
|
//// return CircularList;
|
|
////})()
|
|
|
|
verify.rangesWithSameTextAreRenameLocations(); |