2f46eaaf0c
The async rewriter was ignoring these variables since they were only used for non-user variables that didn't need to be captured. Now that we use these ScopedIds for user variables we need to capture some of them. "userDefined" specifies if the variable should be captured. Change-Id: I2dbb86e1834982b59883a3d107612ee8f8e2284a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400662 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com>