Foreach ref assignment without identity conversion should give error#64879
Conversation
|
The implementation reuses the existing error code CS8173 - as i mentioned in #61238 I do feel like it might be more informative for the user if the message were to read something along the lines of |
fbf0054 to
45e4396
Compare
|
@ArcadeMode The change looks good to me. Please ping when the suggested tests are added. I'll sign-off then. Thanks |
|
@jcouv the mentioned test is already added, unless im overlooking something? |
|
@ArcadeMode Got it. Thanks |
|
@RikkiGibson for second review |
RikkiGibson
left a comment
There was a problem hiding this comment.
Very nearly done, just had a nit to pick.
|
Spanish test is failing. I don't think it's related to this PR. |
|
Thanks for the contribution @ArcadeMode! |
Fixes #61238