Skip to content

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe committed Nov 16, 2020
1 parent 6b46145 commit a7a5d27
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/fix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,31 +55,6 @@ function fix(options: FixParams): MethodDecorator {
visited.clear();

return result;
/*
let value;
if(callChain.size == 0) {
values.set(...args, bottom(...args));
for(let i = 0; i < limit && value !== values.get(...args); i++) {
callChain.set(...args, _fix);
value = values.get(...args);
values.set(...args,f.apply(this,args));
callChain.clear();
}
return value;
}
if(callChain.has(...args)) {
return values.get(...args);
}
values.set(...args, bottom(...args));
callChain.set(...args, _fix);
value = f.apply(this,args);
values.set(...args,value);
callChain.delete(...args);
values.delete(...args);
return value;
*/
};
};
}
Expand Down

0 comments on commit a7a5d27

Please sign in to comment.