Skip to content

Commit 5f5f4bd

Browse files
committed
[lint] fix method parameter rename
This lint will (correctly) be reported by an in-flight migration of the `avoid_renaming_method_parameters` to the new element model. See: https://dart-review.googlesource.com/c/sdk/+/394662 Change-Id: I4624eae08922fd0c30bc7636c53102266f585859 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394569 Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Jake Macdonald <[email protected]>
1 parent 0f4883e commit 5f5f4bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/_macros/lib/src/executor/augmentation_library.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ mixin AugmentationLibraryBuilder on MacroExecutor {
1515
Iterable<MacroExecutionResult> macroResults,
1616
TypeDeclaration Function(Identifier) resolveDeclaration,
1717
ResolvedIdentifier Function(Identifier) resolveIdentifier,
18-
TypeAnnotation? Function(OmittedTypeAnnotation) typeInferrer,
18+
TypeAnnotation? Function(OmittedTypeAnnotation) inferOmittedType,
1919
{Map<OmittedTypeAnnotation, String>? omittedTypes,
2020
List<Span>? spans}) {
2121
return _Builder(augmentedLibraryUri, resolveDeclaration, resolveIdentifier,
22-
typeInferrer, omittedTypes)
22+
inferOmittedType, omittedTypes)
2323
.build(macroResults, spans: spans);
2424
}
2525
}

0 commit comments

Comments
 (0)