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

Fix dot call in AST docs #33247

Merged
merged 1 commit into from
Sep 18, 2019
Merged

Fix dot call in AST docs #33247

merged 1 commit into from
Sep 18, 2019

Conversation

tkf
Copy link
Member

@tkf tkf commented Sep 13, 2019

It seems current documentation

| `a.(b)` | `(. a b)` |

does not match with the implementation:

> (julia-parse "a.(b)")
(|.| a (tuple b))
julia> :(a.(b)).args
2-element Array{Any,1}:
 :a
 :((b,))

@c42f
Copy link
Member

c42f commented Sep 18, 2019

This probably dates back to when this syntax had the same meaning as matlab?

In any case, this change correctly reflects the current dot call lowering.

@c42f c42f merged commit 835f1b8 into JuliaLang:master Sep 18, 2019
@tkf tkf deleted the fixastdocs branch January 29, 2020 07:49
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

Successfully merging this pull request may close these issues.

2 participants