f631577638
This moves checking of arguments on initializers to the inference visitor. This prepares for separating ArgumentsImpl from Arguments by ensuring that checking is always performed on ArgumentsImpl. Change-Id: I41e96377d141034adecf03bc7d0f130eb260fb72 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/466061 Reviewed-by: Erik Ernst <eernst@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>