Nimsuggest gives false errors with functions when using generics
### Description

i'm studying how to use generics, and for a while now, i'm having a problem with nimsuggest, when i try to call functions that uses generics, i need explicitly say the type, otherwise the nimsuggest gives a false error, the code compiles and runs correctly even though nimsuggest says otherwise. The problem is a conflict between `int literal` and `system int`, I didn't find anything about this on the doc or something.

Code:
```Nim
type Stack*[T] = ref object
    stack: seq[T]

proc newStack*[T](): Stack[T] = 
    new Stack[T]

proc add*[T](self: var Stack[T], valor: T) =
    self.stack.add(valor)

var nStack = newStack[int]()

nStack.add(10)          # false error
add(nStack, 11)         # false error
add[int](nStack, 12)    # "works"
```
Error
```
type mismatch
Expression: add(nStack, 12)
  [1] nStack: Stack[system.int]
  [2] 12: int literal(12)

Expected one of (first mismatch at [position]):
[1] proc add(x: var string; y: char)
[1] proc add(x: var string; y: cstring)
[1] proc add(x: var string; y: string)
[1] proc add[T](self: var Stack[T]; valor: T)
[1] proc add[T](x: var seq[T]; y: openArray[T])
[1] proc add[T](x: var seq[T]; y: sink T)
```

### Nim Version

Nim Compiler Version 2.0.8 [Linux: amd64]
Compiled at 2024-07-03
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: 5935c3bfa9fec6505394867b23510eb5cbab3dbf
active boot switches: -d:release