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
Type Mismatch incomplete signature on error #12309
Comments
Such a weird thing. Are you sure it's not caused by something like output redirections? (From Nimble or other tools...) |
|
This does compile for me, so please setup a real test case which we can reproduce. |
I´m sorry. I should had informed at first: this fail on linux, because Jesters changes the Request type from asynchttpserver to httpbeast on linux only. |
I read the error message, I read what you wrote, and I read the jester source and everything I read appears to be consistent. If you want to use a |
@disruptek My complain is not about the 'error' with Jester. (yes, I already solved it with the d:useStdlib :) )
Since it didn't prefixed the type with the module , it was a confusing error ( but my type IS Request :P ) If you simulate this problem on a local project, it displays the error correctly:
Looks like imported packages from another package don´t show the module prefix. |
You're right of course; I'm an idiot. I confused this for a new issue when I saw Araq's comment in my email. 😁 |
Type mismatch error output shows incomplete type signature, making it harder to debug.
Example
Basic nimble package file +
Source
Current Output
Expected Output
Possible Solution
Don´t know :).
Apparently this only occurs with external packages. (Local file modules show the complete signature "module.type")
$ nim -v
Nim Compiler Version 1.0.99
The text was updated successfully, but these errors were encountered: