mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-06 03:44:14 +00:00
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.