Invoking a procedure named the same as a ref object's field mentions the value object
### Description

```nim
type MyType = ref object
  a: int

proc a(val: MyType, i: int) = discard
MyType().a(100)
```

### Nim Version

2.0+

### Current Output

```text
Error: type mismatch
Expression: a(MyType(), 100)
  [1] MyType(): MyType:ObjectType
  [2] 100: int literal(100)

Expected one of (first mismatch at [position]):
[1] proc a(val: MyType; i: int)
```
```


### Expected Output

```text
Compilation or an error about attempting to invoke an `int`
```


### Known Workarounds

_No response_

### Additional Information

_No response_