fixes a bug that kept sugar.collect from working with for loop macros [backport]
fixes a bug that kept sugar.collect from working with for loop macros [backport]

dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim