diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-08-09 13:18:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 13:18:50 +0800 |
commit | c622e58db968da29e743472d6619137598cc546a (patch) | |
tree | 04adb308cfcad922dc418d16c294ff1c70e851a7 | |
parent | 28b2e429ef64503f7a239ee8fc3043c3fe883ec6 (diff) | |
download | Nim-c622e58db968da29e743472d6619137598cc546a.tar.gz |
make the name of procs consistent with the name forwards (#22424)
It seems that `--stylecheck:error` acts up when the name forwards is involved. ```nim proc thisOne*(x: var int) proc thisone(x: var int) = x = 1 ``` It cannot understand this at all.
-rw-r--r-- | compiler/astalgo.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim index d0aec085f..621bd2380 100644 --- a/compiler/astalgo.nim +++ b/compiler/astalgo.nim @@ -109,7 +109,7 @@ type data*: TIIPairSeq -proc initIiTable*(x: var TIITable) +proc initIITable*(x: var TIITable) proc iiTableGet*(t: TIITable, key: int): int proc iiTablePut*(t: var TIITable, key, val: int) |