diff options
author | Araq <rumpf_a@web.de> | 2015-06-20 23:24:21 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-06-20 23:24:21 +0200 |
commit | 87f65f5e72148d6b44e09cfd4834c9366bfacd4c (patch) | |
tree | 34778aef8b91ae168a9a74f9e24c96497c58f7d9 /lib/pure | |
parent | e74012b3967476a9bb19073daa4f6d8e061fe60a (diff) | |
download | Nim-87f65f5e72148d6b44e09cfd4834c9366bfacd4c.tar.gz |
preparations for more Nimble packages; clear licensing; fixes #2949
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/algorithm.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/algorithm.nim b/lib/pure/algorithm.nim index ac18ae420..e087b5ac9 100644 --- a/lib/pure/algorithm.nim +++ b/lib/pure/algorithm.nim @@ -355,7 +355,7 @@ when isMainModule: var srt1 = [1,2,3,4,4,4,4,5] var srt2 = ["iello","hello"] var srt3 = [1.0,1.0,1.0] - var srt4 = [] + var srt4: seq[int] = @[] assert srt1.isSorted(cmp) == true assert srt2.isSorted(cmp) == false assert srt3.isSorted(cmp) == true |