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 should throw panic #3

Closed
LemonHX opened this issue Oct 1, 2021 · 1 comment · Fixed by #5
Closed

Parser should throw panic #3

LemonHX opened this issue Oct 1, 2021 · 1 comment · Fixed by #5
Assignees
Labels
bug Something isn't working

Comments

@LemonHX
Copy link
Collaborator

LemonHX commented Oct 1, 2021

> a(a(1)(2)(3)
Expr(Ident(["a"]))
TypeCheckContext { parent: None, free_var: {"a": Function([Number, Number], Number), "add": Function([Number, Number], Number)}, alias: {} }
type: Ok(Function([Number, Number], Number))
value: Ok(Function(["a", "b"], {}, Block([Call(Ident(["add"]), [Ident(["a"]), Ident(["b"])])])))
@LemonHX LemonHX added the bug Something isn't working label Oct 1, 2021
@LemonHX LemonHX self-assigned this Oct 1, 2021
@LemonHX LemonHX linked a pull request Oct 1, 2021 that will close this issue
Merged
@LemonHX
Copy link
Collaborator Author

LemonHX commented Oct 1, 2021

not panic just error

@LemonHX LemonHX closed this as completed in #5 Oct 1, 2021
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.

1 participant