Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support explicit resource management #3191

Closed
arcanis opened this issue Jun 23, 2023 · 1 comment · Fixed by #3192
Closed

Support explicit resource management #3191

arcanis opened this issue Jun 23, 2023 · 1 comment · Fixed by #3192

Comments

@arcanis
Copy link

arcanis commented Jun 23, 2023

We have quite a few places in Yarn where we manually track the lifetime of wasm-backed data structures (for example here). It'd be nice if we could use the new using syntax (whose support just got merged in TypeScript).

Refs:

@evanw
Copy link
Owner

evanw commented Jun 23, 2023

Yes. I'm aware and I'm already working on it. Support for the syntax has already been shipped, and I plan to ship support for syntax lowering soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants