diff options
author | Araq <rumpf_a@web.de> | 2020-04-02 15:01:14 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2020-04-02 15:01:14 +0200 |
commit | 8ee0771b5a10cfd083ba2eba806e5d9d9f72b234 (patch) | |
tree | 9ed265272705618fbc8c5b3a5786f6f7f6e31228 /lib/pure/collections/sequtils.nim | |
parent | d01fca974dd377b100bc3e2477d6d59f0a05517f (diff) | |
download | Nim-8ee0771b5a10cfd083ba2eba806e5d9d9f72b234.tar.gz |
return types must not be Natural for reasons I won't outline here
Diffstat (limited to 'lib/pure/collections/sequtils.nim')
-rw-r--r-- | lib/pure/collections/sequtils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 0cc91b0d0..ea02ff1fd 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 |