bee48f6ed6
* When initializing from a dill in the incremental compiler check that the nnbd mode matches what we're asked to compile. If they don't, silently do not initialize from the file. * When serializing and deserializing, assert that the individual libraries match the component compilation mode. * When appending dill libraries in the CFE, assert that they match what we're asked to compile. * Remove NonNullableByDefaultCompiledMode.Disabled -- it's not a thing anyway. https://github.com/flutter/flutter/issues/68901 Change-Id: I2e68f17cb3a065c4352e4db7c8aee3c13747f23a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169080 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>