From 8ee0771b5a10cfd083ba2eba806e5d9d9f72b234 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 2 Apr 2020 15:01:14 +0200 Subject: [PATCH] return types must not be Natural for reasons I won't outline here --- lib/pure/collections/sequtils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 0cc91b0d0ec9..ea02ff1fd376 100644 --- a/lib/pure/collections/sequtils.nim +++ b/lib/pure/collections/sequtils.nim @@ -601,7 +601,7 @@ template keepItIf*(varSeq: seq, pred: untyped) = setLen(varSeq, pos) since (1, 1): - template countIt*(s, pred: untyped): Natural = + template countIt*(s, pred: untyped): int = ## Returns a count of all the items that fulfilled the predicate. ## ## The predicate needs to be an expression using