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

apply should throw if it infers an out type of Union{} #73

Open
tpgillam opened this issue Aug 7, 2022 · 0 comments
Open

apply should throw if it infers an out type of Union{} #73

tpgillam opened this issue Aug 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tpgillam
Copy link
Owner

tpgillam commented Aug 7, 2022

If the output type inferred is the nadir type Union{}, that is a likely indication that the types of the argument have no appropriate method that can be dispatched.

In this case, we should throw an exception immediately.

It is already possible to specify the out_type manually, which is hopefully sufficient to work around for more specific user needs.

@tpgillam tpgillam added the enhancement New feature or request label Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant