Ban sync*/async* from user facing code (#95050)

This commit is contained in:
Dan Field
2021-12-12 13:05:03 -08:00
committed by GitHub
parent 895beb04bb
commit ab0a335973
55 changed files with 656 additions and 580 deletions

View File

@@ -430,6 +430,8 @@ Future<void> runForbiddenFromReleaseTests() async {
'--snapshot', path.join(tempDirectory.path, 'snapshot.arm64-v8a.json'),
'--package-config', path.join(flutterRoot, 'examples', 'hello_world', '.dart_tool', 'package_config.json'),
'--forbidden-type', 'package:flutter/src/widgets/widget_inspector.dart::WidgetInspectorService',
'--forbidden-type', 'package:flutter/src/widgets/framework.dart::DebugCreator',
'--forbidden-type', 'package:flutter/src/foundation/print.dart::debugPrint',
];
await runCommand(
dart,