You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[RuntimeAsync] Live ref-like temps are seen crossing awaits in Debug/minopts codegen for IL that does not have that. #119615
The method itself is not async, but we generate an async thunk for it, which has the same ref-like parameter.
The thunk is simply passes the parameter to the wrapped call and does not use the parameter after the call (that is true for all parameters) and therefore nothing ref-like, or perhaps nothing at all, should need capturing into a closure.
changed the title [-][RuntimeAsync] Live ref-like temps are seen crossing awaits in Debug/minopts codegen when IL did not have that.[/-][+][RuntimeAsync] Live ref-like temps are seen crossing awaits in Debug/minopts codegen for IL that does not have that.[/+]on Sep 12, 2025
Activity
dotnet-policy-service commentedon Sep 12, 2025
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
[-][RuntimeAsync] Live ref-like temps are seen crossing awaits in Debug/minopts codegen when IL did not have that.[/-][+][RuntimeAsync] Live ref-like temps are seen crossing awaits in Debug/minopts codegen for IL that does not have that.[/+]jakobbotsch commentedon Sep 15, 2025
Do you have a link to the failure for this?
VSadov commentedon Sep 15, 2025
I saw it in a local run. There was more than one failure. I think it requires running with
-rc Checked -lc Debug.If we run such configuration in default CI, there should be failures due to this.
I'll try to search for some failures for this in earlier iterations of this PR.