d0ee5dbe40
Checks that the null safety mode of every module loaded matches the mode of the SDK. This relands https://dart-review.googlesource.com/c/sdk/+/173120 with additional fix to correctly set the mode of a new component created in the frontend_server. Change-Id: I855b226f724ce0b6c83dbdc11ff6113853892dbb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/174881 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Anna Gringauze <annagrin@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>