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

Parser barfs on foo |> new . #1674

Closed
nicholaides opened this issue Jan 5, 2025 · 1 comment · Fixed by #1678
Closed

Parser barfs on foo |> new . #1674

nicholaides opened this issue Jan 5, 2025 · 1 comment · Fixed by #1678
Assignees
Labels
bug Something isn't working

Comments

@nicholaides
Copy link

foo |> new .

Error in dev console is TypeError: e.children is undefined
CleanShot 2025-01-04 at 19 07 23@2x

@edemaine edemaine added the bug Something isn't working label Jan 5, 2025
@edemaine
Copy link
Collaborator

edemaine commented Jan 5, 2025

Thanks for the report! Definitely the compiler shouldn't crash like this.

But I think the code is invalid: . needs to be inside a function call but isn't.

You probably want foo |> new &

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants