Skip to content

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Sep 21, 2022

Removes limitation #13533

  • decide if this needs a language version switch. I guess so

@dsyme dsyme changed the title fix 13533 [WIP] fix 13533 Sep 21, 2022
@T-Gro
Copy link
Member

T-Gro commented Sep 22, 2022

I cannot think of an example where this would break existing code.
With that view, I do not see the need for a language version switch. Am I missing anything?

Code that did not compile, but now it does => I do not see that as a version-relevant change.

@dsyme
Copy link
Contributor Author

dsyme commented Sep 22, 2022

@T-Gro In theory the lang version switch is to enable team work - that code that works in one person's tooling will also work in another's tooling even with different tooling versions.

However in this case I think we can take it as a bug fix as you say.

@dsyme dsyme changed the title [WIP] fix 13533 Fix 13533 - remove limitation regarding try/finally and try/with before construction Sep 22, 2022
@dsyme dsyme merged commit 3a3b812 into dotnet:main Sep 22, 2022
@abelbraaksma
Copy link
Contributor

This fixed #13533, I'll close that issue. Thanks!

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.

3 participants