Skip to content

Commit f61ffc1

Browse files
Merge pull request #634 from AayushSabharwal/as/fix-setproperties
fix: avoid `ConstructionBase.setproperties` ambiguity
1 parent 3625a98 commit f61ffc1

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
@@ -85,7 +85,7 @@ const SIMPLIFIED = 0x01 << 0
8585
#@inline is_of_type(x::BasicSymbolic, type::UInt8) = (x.bitflags & type) != 0x00
8686
#@inline issimplified(x::BasicSymbolic) = is_of_type(x, SIMPLIFIED)
8787

88-
function ConstructionBase.setproperties_object(obj::BasicSymbolic{T}, patch)::BasicSymbolic{T} where T
88+
function ConstructionBase.setproperties(obj::BasicSymbolic{T}, patch::NamedTuple)::BasicSymbolic{T} where T
8989
nt = getproperties(obj)
9090
nt_new = merge(nt, patch)
9191
Unityper.rt_constructor(obj){T}(;nt_new...)

0 commit comments

Comments
 (0)