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

ERROR: convert has no method matching convert(::Type{VarNode}, ::Type{VarNode}) #13033

Closed
outlace opened this issue Sep 9, 2015 · 1 comment
Labels
docs This change adds or pertains to documentation error handling Handling of exceptions by Julia or the user

Comments

@outlace
Copy link

outlace commented Sep 9, 2015

I got this error
ERROR: convert has no method matching convert(::Type{VarNode}, ::Type{VarNode})

When I tried to assign a variable of type VarNode to the type VarNode itself.
e.g.
some_var::VarNode
some_var = VarNode
of course I meant to assign some_var to an initialized instance of VarNode
(VarNode is just some complex type I wrote myself). Obviously the problem is I tried to assign a variable to a type, but the error you get is not informative at all.

@stevengj stevengj added the error handling Handling of exceptions by Julia or the user label Sep 9, 2015
@vtjnash vtjnash added the docs This change adds or pertains to documentation label Sep 9, 2015
@kshyatt
Copy link
Contributor

kshyatt commented Nov 25, 2015

Anyone want to try making this error more informative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation error handling Handling of exceptions by Julia or the user
Projects
None yet
Development

No branches or pull requests

4 participants