44c6312df8
Also, convert package:vm to use onDiagnostic. We're consolidating all dependencies on package:front_end in one file per tool. The idea is, if you want to depend on something in the package:front_end, you modify pkg/front_end/lib/src/api_unstable/vm.dart and consult with the front-end team. These consolidated files will help us when designing a public API in the future. Change-Id: I66bafdd0ae29605fd12f8d6c589dbc761e5c7a97 Reviewed-on: https://dart-review.googlesource.com/c/77581 Auto-Submit: Peter von der Ahé <ahe@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Peter von der Ahé <ahe@google.com>