-
Notifications
You must be signed in to change notification settings - Fork 18
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 expected, but got: nil #19
Comments
Is that a documentation/example bug? |
I suppose yes, but if you tell me it should work without the typing.... I'm not sure if If it's a doc bug, I'll fix it by PR. |
Hmm, I don't remember Ormin's code base. :D Stay tuned. |
So ... forumproto.nim contains this code: client:
type Session = ref object
var gSessions: seq[Session]
gSessions = recv()
proc getAllSessions() And to the best of my knowledge this test is green. |
In the chat example you don't specify the type to
recv()
PD: it works if I use
recv(int)
The text was updated successfully, but these errors were encountered: