Files
Nim/nimdoc/testproject/subdir/subdir_b/utils_helpers.nim
Andrey Makarov 63b4b3c5b8 Fix nim doc crash with group referencing & include (#21600)
This fixes a regression introduced in #20990 . When a group referencing
is used and one of the overloaded symbols is in `include`d file, then
`nim doc` crashes. The fix is in distinguishing (the index of) module
and file where the symbol is defined, and using only module as the
key in hash table for group referencing.
2023-04-02 10:32:36 +02:00

7 lines
245 B
Nim

proc funWithGenerics*[T, U: SomeFloat](a: T, b: U) = discard
# We check that presence of overloaded `fn2` here does not break
# referencing in the "parent" file (the one that includes this one)
proc fn2*(x: int, y: float, z: float) =
discard