25548a912f
- Mostly restores the pre-kernel behavior, except that actual arguments are not passed to the NoSuchMethodError. - Instead of a vague error message, the call site whose target is missing is now part of the stack trace and the name/kind of the missing target is part of the exception message. - If the missing target is on a branch not taken, things properly succeed. TEST=ci Bug: https://github.com/dart-lang/sdk/issues/37517 Bug: https://github.com/flutter/flutter/issues/122626 Change-Id: Ic3d5a386caa8d1627d8452a5601bc728ad519987 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/291055 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>