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

Parsing issue when using threads macro #32467

Closed
andreasnoack opened this issue Jul 1, 2019 · 0 comments · Fixed by #32476
Closed

Parsing issue when using threads macro #32467

andreasnoack opened this issue Jul 1, 2019 · 0 comments · Fixed by #32476
Assignees
Labels
kind:bug Indicates an unexpected problem or unintended behavior parser Language parsing and surface syntax

Comments

@andreasnoack
Copy link
Member

julia> identity(
         identity() do
           for i in 1:1
           end
         end
       )()

but

julia> identity(
         identity() do
           Threads.@threads for i in 1:1
ERROR: syntax: extra token "for" after end of expression
@StefanKarpinski StefanKarpinski added kind:bug Indicates an unexpected problem or unintended behavior parser Language parsing and surface syntax labels Jul 1, 2019
@JeffBezanson JeffBezanson self-assigned this Jul 2, 2019
JeffBezanson added a commit that referenced this issue Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior parser Language parsing and surface syntax
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants