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

Async json example fix #5208

Merged
merged 1 commit into from Jan 10, 2017
Merged

Conversation

luked99
Copy link
Contributor

@luked99 luked99 commented Jan 10, 2017

Fix the example code for asynchttpserver to import the JSON package. Without that, it can be confusing to newbies:

http://forum.nim-lang.org/t/2711

The example code won't compile unless json is imported, because
of the use of the %* operator. This can trip-up inexperienced
Nim developers.
@dom96 dom96 merged commit c869884 into nim-lang:devel Jan 10, 2017
@dom96
Copy link
Contributor

dom96 commented Jan 10, 2017

Bah. That really shouldn't be an Examples section, the page has two now which confused me a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants