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

Erlang remote calls aren't completed correctly in pipelines #475

Closed
scohen opened this issue Nov 7, 2023 · 0 comments · Fixed by #476
Closed

Erlang remote calls aren't completed correctly in pipelines #475

scohen opened this issue Nov 7, 2023 · 0 comments · Fixed by #476
Labels
bug Something isn't working completions Enhancements to Lexical's autocompleter
Milestone

Comments

@scohen
Copy link
Collaborator

scohen commented Nov 7, 2023

They should have their first argument elided, but they don't.
for

"Hello" |> :binary.at|

the completion is at(subject, pos) but should be at(pos)

@scohen scohen added bug Something isn't working completions Enhancements to Lexical's autocompleter labels Nov 7, 2023
scohen added a commit that referenced this issue Nov 7, 2023
Erlang remote calls were not being recognized as being in a pipeline
context because they're just atoms, and that wasn't included as a
valid token inside of pipelines. Thus, `in_context?(x, :pipe)` would
return false, and the first arguments to the functions would appear

Fixes #475
@scohen scohen added this to the 0.4.1 milestone Nov 7, 2023
scohen added a commit that referenced this issue Nov 8, 2023
Erlang remote calls were not being recognized as being in a pipeline
context because they're just atoms, and that wasn't included as a
valid token inside of pipelines. Thus, `in_context?(x, :pipe)` would
return false, and the first arguments to the functions would appear

Fixes #475
scohen added a commit that referenced this issue Nov 8, 2023
Erlang remote calls were not being recognized as being in a pipeline
context because they're just atoms, and that wasn't included as a
valid token inside of pipelines. Thus, `in_context?(x, :pipe)` would
return false, and the first arguments to the functions would appear

Fixes #475
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completions Enhancements to Lexical's autocompleter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant