summary refs log tree commit diff stats
path: root/tests/effects
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2023-02-24 09:02:15 +0100
committerGitHub <noreply@github.com>2023-02-24 09:02:15 +0100
commit8a19ac20708c66fb3541533d55b60624cee56ab7 (patch)
tree0ddf7c34c2ecd76f8d1e1660de346c45e1bab145 /tests/effects
parent7dc80a7fefb0d2cecbdc2696c71ea2fa94d6aa76 (diff)
downloadNim-8a19ac20708c66fb3541533d55b60624cee56ab7.tar.gz
fixes #21393 and misc style changes (#21419)
* fixes #21393 and misc style changes

* progress

---------

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
Diffstat (limited to 'tests/effects')
-rw-r--r--tests/effects/tstrictfuncs_misc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/effects/tstrictfuncs_misc.nim b/tests/effects/tstrictfuncs_misc.nim
index 59d850763..8c573bb3a 100644
--- a/tests/effects/tstrictfuncs_misc.nim
+++ b/tests/effects/tstrictfuncs_misc.nim
@@ -53,7 +53,7 @@ type
   JsonNode3 = ref object
     fields: MyTable
 
-proc `[]`(t: var MyTable, key: string): var int =
+proc `[]`(t: MyTable, key: string): int =
   result = t.data[0]
 
 proc `[]`(x: JsonNode3, key: string): int =