Andreas Rumpf
|
02be027e9b
IC: progress and refactorings (#22961)
|
1 year ago |
ringabout
|
e17237ce9d
prepare for the enforcement of `std` prefix (#22873)
|
1 year ago |
ringabout
|
5f13e15e0a
fixes #22664; guard against potential seqs self assignments (#22671)
|
1 year ago |
ringabout
|
eb91cf991a
fixes #22619; don't lift cursor fields in the hook calls (#22638)
|
1 year ago |
ringabout
|
469c9cfab4
unpublic the sons field of PType; the precursor to PType refactorings (#22446)
|
1 year ago |
ringabout
|
7be2e2bef5
replaces `doAssert false` with `raiseAssert` for unreachable branches, which works better with strictdefs (#22436)
|
1 year ago |
ringabout
|
93ced31353
use strictdefs for compiler (#22365)
|
1 year ago |
ringabout
|
7d9fe106ec
fixes #22268; fixes `move` codegen (#22288)
|
1 year ago |
ringabout
|
e422b3c860
adds =destroy T support for strings and seqs (#22167)
|
1 year ago |
ringabout
|
4546f5dfe5
adds T destructor for refs (#22147)
|
1 year ago |
ringabout
|
a345cde26e
allow destructors to accept non var parameters; deprecate `proc =destroy(x: var T)` (#22130)
|
1 year ago |
ringabout
|
64b27edd3a
make `move` use `=wasMoved` internally (#22032)
|
1 year ago |
ringabout
|
7ee00d86b1
fixes overriden typo (#22044)
|
1 year ago |
ringabout
|
47fa7506ab
fixes #21989; lift `=dup` from a custom `=copy` for objects to keep backward compatibilities (#22009)
|
1 year ago |
ringabout
|
1133f20fe2
lift the `=dup` hook (#21903)
|
1 year ago |
ringabout
|
ddce555998
improve `wasMoved` hooks; allow reset to use the overridden `wasMoved` hook (#21831)
|
1 year ago |
ringabout
|
3b9999b93c
adds documentation for `=wasMoved` and `=dup` hooks and small fixes (#21827)
|
1 year ago |
ringabout
|
71dc929ad7
bring #21802 back; fixes #21753 [backport] (#21815)
|
1 year ago |
ringabout
|
4533e894ad
adds an experimental `mm:atomicArc` switch (#21798)
|
1 year ago |
ringabout
|
b562e1e6d8
implement `=dup` hook eliminating `wasMoved` and `=copy` pairs (#21586)
|
1 year ago |
Andreas Rumpf
|
20b011de19
refactoring in preparation for better, simpler name mangling that wor… (#21667)
|
1 year ago |
Andreas Rumpf
|
46d2161c23
minor refactoring (#21499)
|
1 year ago |
ringabout
|
38d299dfc0
fixes #20139; hash types based on its path relative to its package path (#21274) [backport:1.6]
|
1 year ago |
ringabout
|
a137e50150
fixes #19291; implements `wasMoved` hook (#21303)
|
1 year ago |
ringabout
|
684c3b3aeb
fixes comments about type bound operations (#21365)
|
1 year ago |
ringabout
|
4b63ac4b87
fixes #21171; dynamic acyclic refs need to use dyn decRef (#21184)
|
2 years ago |
Antonis Geralis
|
8dcf367e52
Prevent use-after-free bugs in object variants. Fixes bug #20305 (#20300) [backport]
|
2 years ago |
flywind
|
7f6e800caf
move assertions out of system (#19599)
|
2 years ago |
Andreas Rumpf
|
32d4bf3525
fixes an old ARC bug: the produced copy/sink operations don't copy the hidden type field for objects with enabled inheritance; fixes #19205 [backport:1.6] (#19232)
|
3 years ago |
Andreas Rumpf
|
12da32a891
fixes #17893 (#18485)
|
3 years ago |