3490443f82
Removes the method `FlowAnalysis.forwardExpression`, whose job was to handle expressions that were rewritten during resolution, transferring `ExpressionInfo` objects that were associated with the old expression to the new rewritten expression. Calls to `FlowAnalysis.forwardExpression` are replaced by an equivalent construct: a call to `FlowAnalysis.getExpressionInfo` and a call to `FlowAnalysis.setExpressionInfo`. This change reduces the number of flow analysis methods that need to interact with the map that associates expressions with `ExpressionInfo` objects, paving the way for eventually removing that map entirely. Change-Id: I6a6a696486ea5bd30a6b2945f827a320fce1588b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/480720 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Paul Berry <paulberry@google.com>