We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ensure_attributes!
1 parent 1ee493f commit 350bc7bCopy full SHA for 350bc7b
src/syntax_graph.jl
@@ -39,7 +39,7 @@ function Base.show(io::IO, ::MIME"text/plain", graph::SyntaxGraph)
39
_show_attrs(io, graph.attributes)
40
end
41
42
-function ensure_attributes!(graph::SyntaxGraph; kws...)
+function ensure_attributes!(graph::SyntaxGraph{<:Dict}; kws...)
43
for (k,v) in pairs(kws)
44
@assert k isa Symbol
45
@assert v isa Type
0 commit comments