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

Syntax errors in doctests #487

Closed
mortenpi opened this issue May 17, 2017 · 0 comments · Fixed by #1062
Closed

Syntax errors in doctests #487

mortenpi opened this issue May 17, 2017 · 0 comments · Fixed by #1062
Milestone

Comments

@mortenpi
Copy link
Member

Documenter can't check for syntax errors in doctests, e.g.:

```jldoctest
julia> map(tuple, 1/(i+j) for i=1:2, j=1:2, [1:4;])
ERROR: syntax: invalid iteration specification
```

I am guessing this is because we parse before we eval, and we don't check for parsing errors.

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

Successfully merging a pull request may close this issue.

1 participant