Skip to content

Commit

Permalink
Add another NamedTuple annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
serenity4 committed Jul 28, 2024
1 parent d13e05f commit 7a72651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConstructionBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ setproperties_object(obj, patch::Tuple{}) = obj
end
setproperties_object(obj, patch::NamedTuple{()}) = obj

@generated function setfields_object(obj, patch)
@generated function setfields_object(obj, patch::Patch)
args = Expr[]
pnames = fieldnames(patch)
for fname in fieldnames(obj)
Expand Down

0 comments on commit 7a72651

Please sign in to comment.