We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853e9a2 commit 7fc29d1Copy full SHA for 7fc29d1
src/compiler/core.ts
@@ -797,13 +797,13 @@ namespace ts {
797
export let objectAllocator: ObjectAllocator = {
798
getNodeConstructor: kind => {
799
function Node() {
800
+ this.pos = -1;
801
+ this.end = -1;
802
+ this.flags = 0;
803
+ this.parent = undefined;
804
}
805
Node.prototype = {
- kind: kind,
- pos: -1,
- end: -1,
- flags: 0,
806
- parent: undefined,
+ kind: kind
807
};
808
return <any>Node;
809
},
0 commit comments