[null-safety] add integration tests for sound null safety modes, add support for sound null safety in dart2js (#67171)

Add integration tests to verify that ddc and dart2js can be built and run in sound mode. Updates dart2js compilation to insert a language version comment into the generated entrypoint if necessary.

dart-lang/sdk#42253
This commit is contained in:
Jonah Williams
2020-10-02 21:52:38 -07:00
committed by GitHub
parent 687121d6da
commit ddb01a0c81
5 changed files with 102 additions and 2 deletions

View File

@@ -3,3 +3,4 @@
analyzer:
exclude:
- lib/null_safe_main.dart
- lib/sound_mode.dart