We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This works:
julia> begin type A1 a end end julia>
this doesn't:
julia> begin [i for i=[1]] type A1 a end end ERROR: error compiling anonymous: type definition not allowed inside a local scope
both on 0.3 and 0.4
The text was updated successfully, but these errors were encountered:
dup of #2586
Sorry, something went wrong.
Sorry! Just one more data-point, the suggested workaround in #2586 --putting a let-block around the comprehension-- does not work (anymore?):
julia> begin let [i for i=[1]] end type A1 a end end ERROR: error compiling anonymous: type definition not allowed inside a local scope
No branches or pull requests
This works:
this doesn't:
both on 0.3 and 0.4
The text was updated successfully, but these errors were encountered: