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.
1 parent fbcac53 commit c422506Copy full SHA for c422506
docs/src/pattern-matching.md
@@ -19,7 +19,7 @@ If you know what you're doing, you can pull out the name and fields via:
19
julia> if Meta.isexpr(ex.args[2], :struct)
20
(ex.args[2].args[2], ex.args[2].args[3].args)
21
end
22
-(:Foo,{:( # line 3:),:(x::Int),:( # line 4:),:y})
+(:Foo, Any[:(#= line 3 =#), :(x::Int), :(#= line 4 =#), :y])
23
```
24
25
But this is hard to write – since you have to deconstruct the `type`
0 commit comments