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

Streamline GetDisposeMethod AO #149

Closed
wants to merge 1 commit into from
Closed

Streamline GetDisposeMethod AO #149

wants to merge 1 commit into from

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented Feb 1, 2023

The assert is redundant, and the variable can just be returned directly.

@github-actions
Copy link

github-actions bot commented Feb 1, 2023

A preview of this PR can be found at https://tc39.es/proposal-explicit-resource-management/pr/149.

@rbuckton
Copy link
Collaborator

rbuckton commented Feb 1, 2023

The assert was intentionally redundant, per #131 (comment). It goes away when using await advances and (hopefully) the specs can be merged once again.

@ljharb
Copy link
Member Author

ljharb commented Feb 1, 2023

interesting, it's not clear to me that there's any value from the extra assert or note, but it's not that big a deal. feel free to close.

@rbuckton
Copy link
Collaborator

rbuckton commented Feb 2, 2023

I will close this since the two proposals will merge following the March plenary, which will make this irrelevant.

@rbuckton rbuckton closed this Feb 2, 2023
@ljharb ljharb deleted the spec branch February 2, 2023 16:28
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 this pull request may close these issues.

None yet

2 participants