f1be302123
In both cases, we move a check that is _very_ likely to fail (is the node the cursor is on a ClassDeclaration? is the node the cursor is on an IfStatement?) to the top of `compute()`. Change-Id: I30fedb0184f052b41a9bda7ce838ed1b34fdf470 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415340 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>