b0b1534f3e
This change adds a stack trace so that if the check fails, the user sees the stack trace of the call to `checkUnassigned` prior to the stack trace from the process of visiting the mini-AST. Usually teh stack trace from the call to `checkUnassigned` is much more useful in debugging, since it allows the user to see the location of the problem relative to the code being analyzed. Change-Id: I125b4059ec740850919798cfa66bf7e8c7490213 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/217283 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>