Replies: 1 comment
-
The latter behavior is correct, and no further updates to the specification are necessary. The specification covers the handler pattern, and demonstrates when calls to the DefaultInterpolatedStringHandler will be made. That is all it can and should do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If we take the following code:
We got in dotnet 5 the following output:
But with dotnet 6 (interpolated string handler) the behaviour is changed to:
Could we specify which behaviour is correct? Or if both options are valid it would be nice if we could write it in the spec (like we did with pattern matching).
Beta Was this translation helpful? Give feedback.
All reactions