Response to the proposal to add explicit tail call syntax to ECMAScript · Issue #535 · tc39/ecma262
It is hard that testing the feature of current PTC proposal.
That difference between PTC and TCO is that PTC is required (and observable) semantics. – https://github.com/tc39/ecma262/issues/535#issuecomment-209155496
@rossberg-chromium said that
I don’t see the interop issue or any complication with feature testing if we replace PTC with STC – quite the opposite, in fact. The only way we could practically get into a situation is if some browser shipped a semantics before we have resolved this discussion. That’s why Chrome has pulled PTC from v51, although it was ready. – https://github.com/tc39/ecma262/issues/535#issuecomment-209495142
- Current tail call spec define PTC-dependent algorithm.
- If the algorithm is changed, it may break the web.
blog comments powered by Disqus