Results 440 comments of Jack Works

https://github.com/microsoft/TypeScript/issues/43632

after I rebase this PR, I found there is no changes compared to the main branch. I guess it's already done in some previous commit in the main branch. close...

> From the readme: > > > It didn't. It relies on the completion value of `LabelledStatement` and `SwitchStatement` which can be `break`ed.

> Yeah, I am undecided about these. > > As you say, labelled `break` is particularly confusing, whereas `switch` can be straightforward if used in a particular way. The thing...

> Pretty sure the labeled block case you have there is already invalid. > > From the readme: > > > More formally, the completion value of the StatementList can't...

The main idea of this issue is to keep the mind model simple. In most cases, we can find "exits" of a do expression via recursively find the last meaningful...

> I think we should try to maintain this mental model instead of allowing some subtle cases that leak how completion value actually works in JavaScript. How do you think?...

I think it's a problem more or less, so I implemented IDE support to solve this problem a little.

I took a look, and it is still using the old version. (New version should use `define`, not `=`). Maybe there is something wrong with the build step

Note: this is not related to the cache. The published version of @uniswap/v3-sdk has that code. https://cdn.jsdelivr.net/npm/@uniswap/[email protected]/dist/v3-sdk.esm.js search `gp[iteratorsymbol]` and you can see it.