Noncopyable base type ignored
### Nim Version

2.2


### Description

```nim
type
  A {.inheritable.} = object
  B = object of A

proc `=copy`(a: var A, x: A) {.error.}
#proc `=copy`(a: var B, x: B) {.error.}

proc ffff(v: sink B) =
  echo v

proc g() =
  var b: B
  ffff(b)
  ffff(b)
g()
```

If I can't copy A, I obviously can't copy B..

### Current Output

compiles

### Expected Output

erorr

### Known Workarounds

_No response_

### Additional Information

_No response_