b83d06e4f8
This was noticed when running the benchmarks/Calls/dart/Calls.dart with sound-null-safety. The only fix that was needed is to swap the argument order, but I also changed to add the type promotion to make these errors stand out statically. Change-Id: If47b04596d2da9d30961705fd858f2f2ba2b12c9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153062 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>