Open kaleidawave opened 3 months ago
Would love to merge some of the improvements now (for the release) but unfortunately I think a lot more could be done on this. I have tested this a bit on some projects and unfortunately while there are improvements it doesn't quite completely clear some event / control flow issues.
There are a few issues with the parent
field handling on SubstitutionArguments
but unfortunately the changes caused a bunch of regressions.
Symbols
->Symbol
Accumulator
, a structure for handling returns state (sort of control flow graph, but not really)--basic
flag that basically turns off event application (in an attempt to simplify)Array.prototype.contains
narrowing for arrays with known members and lengthenum
supportMap.prototype.get
andMap.prototype.set
constant functionalityTODO
for of
Array.prototype[Symbol.iterator]
Array.prototype.filter
narrowing and possiblyMap
?RegExp
narrowing