summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2024-09-06 12:46:17 +0300
committerGitHub <noreply@github.com>2024-09-06 11:46:17 +0200
commit7cd17772181a8577a79ee166f4dc96b396dd59d2 (patch)
treefaad228ccf7e3a9e6fe9ddfaa2e11210230ba037 /lib
parenta93c5d79b95b569711478b81d2ae9d19675fc4d8 (diff)
downloadNim-7cd17772181a8577a79ee166f4dc96b396dd59d2.tar.gz
generate tyFromExpr for `when` in generics (#24066)
fixes #22342, fixes #22607

Another followup of #22029, `when` expressions in general in generic
type bodies now behave like `nkRecWhen` does since #24042, leaving them
as `tyFromExpr` if a condition is uncertain. The tests for the issues
were originally added but left disabled in #24005.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions