Skip to content

Commit 7f9dfa7

Browse files
authored
Make metadata a keyword
Positional arguments are used for indices in Symbolics.jl
1 parent b8945de commit 7f9dfa7

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
@@ -175,7 +175,7 @@ Base.nameof(s::Sym) = s.name
175175

176176
ConstructionBase.constructorof(s::Type{<:Sym{T}}) where {T} = Sym{T}
177177

178-
function (::Type{Sym{T}})(name, metadata=NO_METADATA) where {T}
178+
function (::Type{Sym{T}})(name; metadata=NO_METADATA) where {T}
179179
Sym{T, typeof(metadata)}(name, metadata)
180180
end
181181

0 commit comments

Comments
 (0)