Obscure error with incorrect keyword argument defaults #13599
Labels
error handling
Handling of exceptions by Julia or the user
keyword arguments
f(x; keyword=arguments)
If a keyword argument has a declared type, but the default value is of a different type, the error message is confusing:
It would be nice to have a more comprehensible error message here. (Could this error even be caught during type inference? It seems like all the information should be there.)
The text was updated successfully, but these errors were encountered: