diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2021-12-20 23:10:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 15:10:15 -0500 |
commit | 19898e1225862560b216b765187fc0b98dca7608 (patch) | |
tree | 37143be570d78215ccc6f7986646af67b15741f2 /nimdoc/testproject/subdir | |
parent | 4da7dbffc504db9159285ca59e2cdfe9b103afb8 (diff) | |
download | Nim-19898e1225862560b216b765187fc0b98dca7608.tar.gz |
Fix group reference (with capital letters (#19196)
in group name)
Diffstat (limited to 'nimdoc/testproject/subdir')
-rw-r--r-- | nimdoc/testproject/subdir/subdir_b/utils.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nimdoc/testproject/subdir/subdir_b/utils.nim b/nimdoc/testproject/subdir/subdir_b/utils.nim index 5d881e620..e201a3d38 100644 --- a/nimdoc/testproject/subdir/subdir_b/utils.nim +++ b/nimdoc/testproject/subdir/subdir_b/utils.nim @@ -36,6 +36,7 @@ Note that `proc` can be used in postfix form: `binarySearch proc`_. Ref. type like G_ and `type G`_ and `G[T]`_ and `type G*[T]`_. +Group ref. with capital letters works: fN11_ or fn11_ ]## include ./utils_helpers @@ -77,6 +78,11 @@ proc fn8*(): auto = func fn9*(a: int): int = 42 ## comment func fn10*(a: int): int = a ## comment +# Note capital letter N will be handled correctly in +# group references like fN11_ or fn11_: +func fN11*() = discard +func fN11*(x: int) = discard + # bug #9235 template aEnum*(): untyped = |