From 138b310de4badfc765151c5d31923ad9167b3a14 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sun, 26 Apr 2020 08:15:57 +0300 Subject: Fix warnings introduced in nim 1.2 --- src/args.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/args.nim') diff --git a/src/args.nim b/src/args.nim index 87fbaf3..ba734c1 100644 --- a/src/args.nim +++ b/src/args.nim @@ -132,7 +132,7 @@ proc splitArgs*(params: seq[string], else: input - let cycle: ParseCycle = (params.map(some) & none(string)) + let cycle: ParseCycle = (params.map(p => some(p)) & none(string)) .foldl(buildArgs(a, b), (newSeq[ParseArgument](), false, false)) if cycle.stdinConsumed: -- cgit v1.2.3-70-g09d2