Files
Nim/tests/system
Tomohiro 48621c217f 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
2026-06-09 20:55:30 +02:00
..
2018-12-11 21:23:22 +01:00
2019-10-03 18:36:18 +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
2019-07-06 21:20:16 +02:00
2020-12-27 14:45:57 +01:00
2020-04-21 15:05:21 +02:00
2023-04-08 11:42:17 +02:00