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
If a new lambda captures a variable that is alredy captured by a local function then the closure type is converted from struct local function closure to a lambda display class.
Similarly, when a new conversion from local function group to a delegate is added the closure type also changes.
Both should be reported as rude edits during capture analysis.
classC{voidF(){intt=0;intL()=>t;// var f = () => t; /* case 1 */// Delegate d = L; /* case 2 */}}
If a new lambda captures a variable that is alredy captured by a local function then the closure type is converted from struct local function closure to a lambda display class.
Similarly, when a new conversion from local function group to a delegate is added the closure type also changes.
Both should be reported as rude edits during capture analysis.
Related: #66680
The text was updated successfully, but these errors were encountered: