Commit 8c9a645
authored
fix generic converter regression with
refs #24867,
#24867 (comment)
The argument node of the converter can be wrapped in [hidden `addr` or
subtype conversion
nodes](https://github.com/nim-lang/Nim/blob/dc100c5caa673b039155e9e5d4c7fc0c239f4eb5/compiler/sigmatch.nim#L2327-L2335)
which have to be skipped when matching the type again, since the type of
the node is the uninstantiated type taken from the proc parameter.var/subtype args (#24902)1 parent 5dcfd8d commit 8c9a645
File tree
2 files changed
+10
-1
lines changed- compiler
- tests/converter
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
692 | 694 | | |
693 | 695 | | |
694 | 696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments