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 error in long-form anonymous declaration with a default #23234

Closed
rfourquet opened this issue Aug 13, 2017 · 0 comments
Closed

syntax error in long-form anonymous declaration with a default #23234

rfourquet opened this issue Aug 13, 2017 · 0 comments
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior parser Language parsing and surface syntax

Comments

@rfourquet
Copy link
Member

julia> function (x=default) end
ERROR: syntax: expected "(" in function definition

This parses fine if there is a non-default parameter first.
(A bit too non-trivial for me to fix.)

@rfourquet rfourquet added parser Language parsing and surface syntax bug Indicates an unexpected problem or unintended behavior labels Aug 13, 2017
@JeffBezanson JeffBezanson self-assigned this Aug 14, 2017
ararslan pushed a commit that referenced this issue Sep 11, 2017
ararslan pushed a commit that referenced this issue Sep 13, 2017
vtjnash pushed a commit that referenced this issue Sep 14, 2017
ararslan pushed a commit that referenced this issue Sep 15, 2017
ararslan pushed a commit that referenced this issue Sep 16, 2017
ararslan pushed a commit that referenced this issue Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior parser Language parsing and surface syntax
Projects
None yet
Development

No branches or pull requests

2 participants