diff --git a/lib/pure/asyncmacro.nim b/lib/pure/asyncmacro.nim index 00d5789419..a8e378d5c4 100644 --- a/lib/pure/asyncmacro.nim +++ b/lib/pure/asyncmacro.nim @@ -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: