0b3e6bd16c
VM was not performing auto-detection of sound null safety mode if --enable-experiment=non-nullable was not specified on the command line. This change flips that logic to perform auto-detection unless --enable-experiment=no-non-nullable is specified. TEST=Added regression test runtime/tests/vm/dart/regress_44026_test.dart. Fixes https://github.com/dart-lang/sdk/issues/44026 Fixes https://github.com/dart-lang/sdk/issues/44043 Change-Id: Ide8935e90dd3a8bd5a417aeb758605dedbb853eb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170201 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.