summary refs log tree commit diff stats
path: root/tests/misc/tsimplesort.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/tsimplesort.nim')
-rw-r--r--tests/misc/tsimplesort.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/misc/tsimplesort.nim b/tests/misc/tsimplesort.nim
index 9c6ad1207..3115863d5 100644
--- a/tests/misc/tsimplesort.nim
+++ b/tests/misc/tsimplesort.nim
@@ -118,7 +118,7 @@ proc toTable*[A, B](pairs: openarray[tuple[key: A,
   result = initTable[A, B](nextPowerOfTwo(pairs.len+10))
   for key, val in items(pairs): result[key] = val
 
-template dollarImpl(): stmt =
+template dollarImpl(): typed =
   if t.len == 0:
     result = "{:}"
   else:
@@ -305,5 +305,3 @@ proc countTableTest1 =
 
 countTableTest1()
 echo true
-
-