flutter/dev/forbidden_from_release_tests
Michael Goderbauer b966b2beee
Enable private field promotion for dev (#134480)
New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020. Feature is enabled by bumping the min SDK version to 3.2.

Part of https://github.com/flutter/flutter/issues/134476.
2023-09-12 18:29:00 +00:00
..
bin remove unused members in executable libs (#107464) 2022-07-12 21:41:08 +00:00
pubspec.yaml Enable private field promotion for dev (#134480) 2023-09-12 18:29:00 +00:00
README.md Shake widget inspector from non-debug builds (#80157) 2021-04-14 21:54:03 -07:00

Forbidden from release tests

This program compiles the Dart portions of a Flutter application to the AOT format used for release builds, and verifies that debugging related types are not retained. By default, it uses the //examples/hello_world application in this repository.

This harness is invoked from dev/bots/test.dart. By default it uses the examples/hello_world.dart as if it were being compiled for Android arm64 release. New forbidden types may be added by adding more --forbidden-type options in the runForbiddenFromReleaseTests method in dev/bots/test.dart