From 9a4a4762a26d90ae27253cf7072c749a7ba4a979 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Mon, 6 Jan 2025 19:04:04 +0000 Subject: [PATCH] Add top level argument type in generated file Clean up the last instance of `^Builder.*(_)` after the same pattern was changed everywhere else to adhere to the strict top level inference lint. There do not appear to be instances of this pattern in documentation. --- build_runner/test/integration_tests/utils/build_descriptor.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_runner/test/integration_tests/utils/build_descriptor.dart b/build_runner/test/integration_tests/utils/build_descriptor.dart index a54c15398..1d0e02edd 100644 --- a/build_runner/test/integration_tests/utils/build_descriptor.dart +++ b/build_runner/test/integration_tests/utils/build_descriptor.dart @@ -161,7 +161,7 @@ ${builders.map(_builderFactory).join('\n')} '''; String _builderFactory(TestBuilderDefinition builder) => - 'Builder ${builder.key}Factory(_) => ${builder.key};'; + 'Builder ${builder.key}Factory(BuilderOptions _) => ${builder.key};'; String _buildToolFile( Iterable builders, Uri callingScript) =>