Closed bpstrngr closed 1 year ago
By the way, if you didn't mind, would you perhaps have a little insight to offer about how you figure where to intercept the parser inheritence always so quickly? I suppose it's mostly about being familiar with the control flow (such as perhaps calling some type cast parse method in parseMaybeAssignOrigin here, either in error handling or heuristically), but if therein might be some tricks that help determining the TS/vanilla bifurcations it could help taking a stab at PR-s.
fix in version acorn-typescript@1.4.6
Parsed file: https://github.com/rollup/rollup/blob/master/src/ast/nodes/CatchClause.ts#L26
Result: