Remove unneeded comment #6708

This commit is contained in:
Anatoly Galiulin 2017-11-13 15:16:44 +07:00
commit d02606064c

View file

@ -475,9 +475,6 @@ proc splitParamType(paramType: NimNode, async: bool): NimNode =
let firstAsync = "async" in ($paramType[1].ident).normalize
let secondAsync = "async" in ($paramType[2].ident).normalize
# Make sure that at least one has the name `async`, otherwise we shouldn't
# touch it.
if firstAsync:
result = paramType[if async: 1 else: 2]
elif secondAsync: