Files
Nim/tests/system
Tomohiro db595b397c adds modifierMode parameter to typeof (#25815)
This PR adds 3 modes to `typeof` to specify how to handle type modifiers
`var`, `sink` and `lent`.

- typeOfModCompatible
Remove or keep type modifiers in the same way as old typeof. That means
keep `sink` but remove `var` and `lent`.
- typeOfModRemoveModifier
  Remove type modifiers.
- typeOfModKeepModifier
  Keep type modifiers.

Related to https://github.com/nim-lang/Nim/pull/25779
https://github.com/nim-lang/Nim/issues/25786

(cherry picked from commit 48621c217f)
2026-06-12 10:25:10 +02:00
..
2022-09-23 13:05:05 +02:00
2023-07-29 10:57:03 +02:00
2023-07-29 10:57:03 +02:00
2020-12-27 14:45:57 +01:00
2023-04-08 11:42:17 +02:00