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

bug: Internal error with empty into #16

Open
croyzor opened this issue Jul 25, 2024 · 0 comments
Open

bug: Internal error with empty into #16

croyzor opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@croyzor
Copy link
Collaborator

croyzor commented Jul 25, 2024

Originally raised by @mark-koch:

f(Int) -> Int
f(x) = x

intoErr :: Int
intoErr = |> f

Should be a type error, but we get

Internal error: Expected empty leftover function args, got: (a1 :: Int)
@croyzor croyzor added the bug Something isn't working label Jul 25, 2024
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

No branches or pull requests

1 participant