summary refs log tree commit diff stats
path: root/tests/collections
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2021-02-08 02:46:07 -0600
committerGitHub <noreply@github.com>2021-02-08 09:46:07 +0100
commitd447c0fe3f39114f0913df5804e5f7a3406d6edb (patch)
treea1ec482ca0b184819dc0fdffe463e53cf6959b72 /tests/collections
parent4fac8af0c9408ee2a8d454693d17fd84067d24c3 (diff)
downloadNim-d447c0fe3f39114f0913df5804e5f7a3406d6edb.tar.gz
use typeof instead type (#16962)
Diffstat (limited to 'tests/collections')
-rw-r--r--tests/collections/tseq.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/collections/tseq.nim b/tests/collections/tseq.nim
index 88d6dc79b..a7a0c724e 100644
--- a/tests/collections/tseq.nim
+++ b/tests/collections/tseq.nim
@@ -201,7 +201,7 @@ block ttoseq:
     stdout.write(x)
   for x in items(toSeq(countup(2, 6))):
     stdout.write(x)
-  var y: type("a b c".split)
+  var y: typeof("a b c".split)
   y = "xzy"
   stdout.write("\n")