Skip to content

Commit

Permalink
Suppress deadcode warning
Browse files Browse the repository at this point in the history
  • Loading branch information
theunrepentantgeek committed Nov 18, 2021
1 parent d8564ba commit f922a2e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,7 @@ func assignObjectFromObject(
//
// <destination> = <source>
//
//nolint:deadcode,unused
func assignKnownType(name astmodel.TypeName) func(*TypedConversionEndpoint, *TypedConversionEndpoint, *PropertyConversionContext) PropertyConversion {
return func(sourceEndpoint *TypedConversionEndpoint, destinationEndpoint *TypedConversionEndpoint, _ *PropertyConversionContext) PropertyConversion {
// Require destination to not be a bag item
Expand Down

0 comments on commit f922a2e

Please sign in to comment.