ORC: support for custom =trace procs (#18459)
* ORC: support custom =trace procs (WIP) * Update tests/arc/tcustomtrace.nim Co-authored-by: Clyybber <darkmine956@gmail.com> * =trace is now documented and seems to work * make test green Co-authored-by: Clyybber <darkmine956@gmail.com>
This commit is contained in:
parent
ae7e7756fe
commit
4ec2f74246
13 changed files with 321 additions and 11 deletions
|
|
@ -3840,9 +3840,8 @@ the operator is in scope (including if it is private).
|
|||
# will still be called upon exiting scope
|
||||
doAssert witness == 3
|
||||
|
||||
Type bound operators currently include:
|
||||
`=destroy`, `=copy`, `=sink`, `=trace`, `=deepcopy`
|
||||
(some of which are still implementation defined and not yet documented).
|
||||
Type bound operators are:
|
||||
`=destroy`, `=copy`, `=sink`, `=trace`, `=deepcopy`.
|
||||
|
||||
For more details on some of those procs, see
|
||||
`Lifetime-tracking hooks <destructors.html#lifetimeminustracking-hooks>`_.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue