We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
for (using of =
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
for using of explicit resource management
https://www.typescriptlang.org/play/?lib=lib.esnext.d.ts&ts=lib.esnext.d.ts#code/GYewTgBAFArgzgSwHYHMImBAvBJMA2+A3EQJQQBGYApgIYDWRQA
for (using of = null;;) break;
Reports multiple errors as a result of failed parse, including:
Expression expected.
')' expected.
It should parse successfully, much like the following:
for (var of = null;;) break; for (let of = null;;) break; for (const of = null;;) break;
This was discussed in the Explicit Resource Management Repo here: tc39/proposal-explicit-resource-management#248
The test262 test for this can be found here: tc39/test262@fc3079a#diff-4ea0f4ef51852a9dec7036a93ec9576c387d2ad22eaf63992e36f81919c75ce3R14
The text was updated successfully, but these errors were encountered:
for (using of = obj;;);
No branches or pull requests
π Search Terms
for using of explicit resource management
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play/?lib=lib.esnext.d.ts&ts=lib.esnext.d.ts#code/GYewTgBAFArgzgSwHYHMImBAvBJMA2+A3EQJQQBGYApgIYDWRQA
π» Code
π Actual behavior
Reports multiple errors as a result of failed parse, including:
Expression expected.
')' expected.
π Expected behavior
It should parse successfully, much like the following:
Additional information about the issue
This was discussed in the Explicit Resource Management Repo here: tc39/proposal-explicit-resource-management#248
The test262 test for this can be found here: tc39/test262@fc3079a#diff-4ea0f4ef51852a9dec7036a93ec9576c387d2ad22eaf63992e36f81919c75ce3R14
The text was updated successfully, but these errors were encountered: