Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@switch README example error #71

Open
joshualeond opened this issue Dec 18, 2017 · 0 comments
Open

@switch README example error #71

joshualeond opened this issue Dec 18, 2017 · 0 comments

Comments

@joshualeond
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant