TimeDag.jl icon indicating copy to clipboard operation
TimeDag.jl copied to clipboard

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

Open tpgillam opened this issue 3 years ago • 0 comments

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 avatar Aug 07 '22 00:08 tpgillam