Files
Nim/tests/types
metagn 5d20ae6098 whitelist prev types to reuse in newOrPrevType (#24899)
fixes #24898

A type is only overwritten if it is definitely a forward type, partial
object (symbol marked `sfForward`) or a magic type. Maybe worse for
performance but should be more correct. Another option might be to
provide a different value for `prev` for the `preserveSym` case but then
we cannot easily ignore only nominal type nodes.

(cherry picked from commit d966ee3fc3)
2025-05-05 08:16:57 +02:00
..
2018-09-24 16:00:57 +02:00
2017-06-20 11:29:42 +02:00
2020-03-22 20:01:01 +01:00
2020-03-22 19:35:55 +01:00