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

Enhancing error message #637

Open
renuccif opened this issue Jan 9, 2023 · 0 comments
Open

Enhancing error message #637

renuccif opened this issue Jan 9, 2023 · 0 comments

Comments

@renuccif
Copy link

renuccif commented Jan 9, 2023

Feature Request

Description of Problem:

When defining a lambda function without typing its arguments, the error message is cryptic:
{x|fooBarFunction($x)} // fails with "Function type is not fully defined in {NULL[NULL], NULL[NULL]->NULL[NULL]}".
The fooBarFunction has already been defined with appropriate signature, like: fooBarFunction (Argument: Type[n]):ReturnType[m]

Potential Solutions:

Either infer that x is of type Type, or (much simpler) return an error message such as "argument types not defined".

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

No branches or pull requests

1 participant