60b90b296c
Some SDK only inline helper methods expect specific types passed to them. These expectations can't be enforced by the type system and everything is currently working properly. Extension methods may cause confusion in the future so this change adds a bit more context to the error messages just in case. Issue: https://github.com/dart-lang/sdk/issues/49735 Change-Id: Idc620993d1a240fa5aaaccd4519433b04f0ba9ad Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335942 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com>