Lazy.jl
Lazy.jl copied to clipboard
@switch README example error
Hey, thanks for your work here. I was testing out the switch macro example and ran into an error:
using Lazy
x = 1
@switch x begin
1; "x equals one!"
2; "x equals two!"
"x equals something else!"
end
Which results in the error:
ERROR: cannot document the following expression:
2
Stacktrace:
[1] error(::String, ::String, ::Vararg{String,N} where N) at ./error.jl:30
Any advice would be appreciated. Thanks.