Skip to content

Commit c062be7

Browse files
Merge pull request #634 from AayushSabharwal/as/fix-setproperties
fix: avoid `ConstructionBase.setproperties` ambiguity
2 parents 2ef075e + 13c9803 commit c062be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const SIMPLIFIED = 0x01 << 0
8989
#@inline is_of_type(x::BasicSymbolic, type::UInt8) = (x.bitflags & type) != 0x00
9090
#@inline issimplified(x::BasicSymbolic) = is_of_type(x, SIMPLIFIED)
9191

92-
function ConstructionBase.setproperties_object(obj::BasicSymbolic{T}, patch)::BasicSymbolic{T} where T
92+
function ConstructionBase.setproperties(obj::BasicSymbolic{T}, patch::NamedTuple)::BasicSymbolic{T} where T
9393
nt = getproperties(obj)
9494
nt_new = merge(nt, patch)
9595
Unityper.rt_constructor(obj){T}(;nt_new...)

0 commit comments

Comments
 (0)