This module implements lifting for type-bound operations (=sink, =copy, =destroy, =deepCopy, =wasMoved, =dup).
proc produceDestructorForDiscriminator(g: ModuleGraph; typ: PType; field: PSym;
info: TLineInfo; idgen: IdGenerator): PSym {....raises: [
Exception, KeyError, ValueError, OSError, IOError, ERecoverableError], tags: [
RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
forbids: [].}
© 2006–2024 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/liftdestructors.html