Remove unneeded comment #6708
This commit is contained in:
parent
4812b0f0c5
commit
d02606064c
1 changed files with 0 additions and 3 deletions
|
|
@ -475,9 +475,6 @@ proc splitParamType(paramType: NimNode, async: bool): NimNode =
|
||||||
let firstAsync = "async" in ($paramType[1].ident).normalize
|
let firstAsync = "async" in ($paramType[1].ident).normalize
|
||||||
let secondAsync = "async" in ($paramType[2].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:
|
if firstAsync:
|
||||||
result = paramType[if async: 1 else: 2]
|
result = paramType[if async: 1 else: 2]
|
||||||
elif secondAsync:
|
elif secondAsync:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue