tequalhook.nim 245 B

1234567891011
  1. discard """
  2. errormsg: "Overriding `=` hook is deprecated; Override `=copy` hook instead"
  3. matrix: "--warningAsError[Deprecated]:on"
  4. """
  5. type
  6. SharedString = object
  7. data: string
  8. proc `=`(x: var SharedString, y: SharedString) =
  9. discard