Skip to content

Commit

Permalink
Merge pull request #634 from AayushSabharwal/as/fix-setproperties
Browse files Browse the repository at this point in the history
fix: avoid `ConstructionBase.setproperties` ambiguity
  • Loading branch information
ChrisRackauckas committed Aug 19, 2024
1 parent 38ec2bb commit b90c1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const SIMPLIFIED = 0x01 << 0
#@inline is_of_type(x::BasicSymbolic, type::UInt8) = (x.bitflags & type) != 0x00
#@inline issimplified(x::BasicSymbolic) = is_of_type(x, SIMPLIFIED)

function ConstructionBase.setproperties_object(obj::BasicSymbolic{T}, patch)::BasicSymbolic{T} where T
function ConstructionBase.setproperties(obj::BasicSymbolic{T}, patch::NamedTuple)::BasicSymbolic{T} where T
nt = getproperties(obj)
nt_new = merge(nt, patch)
Unityper.rt_constructor(obj){T}(;nt_new...)
Expand Down

0 comments on commit b90c1a0

Please sign in to comment.