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

fix deprecation warnings in asyncmacro and htmlgen #7573

Merged
merged 2 commits into from
Apr 12, 2018

Conversation

krux02
Copy link
Contributor

@krux02 krux02 commented Apr 11, 2018

just a few changes to remove deprecation messages. In my opinion it also removes visual noise from the code.

@@ -348,7 +348,7 @@ proc asyncSingleProc(prc: NimNode): NimNode {.compileTime.} =
newVarStmt(retFutureSym,
newCall(
newNimNode(nnkBracketExpr, prc.body).add(
newIdentNode(!"newFuture"), # TODO: Strange bug here? Remove the `!`.
newIdentNode("newFuture"), # TODO: Strange bug here? Remove the `!`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TODO comment is outdated now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well it seems I just didn't see it. I used a simple search and replace here.

@Araq Araq merged commit 84982e5 into nim-lang:devel Apr 12, 2018
@krux02 krux02 deleted the fix-deprecation-warnings branch April 12, 2018 13:28
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.

2 participants