diff options
author | SirOlaf <34164198+SirOlaf@users.noreply.github.com> | 2023-08-10 07:56:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 07:56:09 +0200 |
commit | baf350493b08d5e1ee25f61b7d7eff33c3499487 (patch) | |
tree | 1c6bd881efab1037ace3227622dc2380dc85117f /tests/generics | |
parent | fa58d23080dad13283cd180260b14cf8c57ab501 (diff) | |
download | Nim-baf350493b08d5e1ee25f61b7d7eff33c3499487.tar.gz |
Fix #21760 (#22422)
* Remove call-specific replaceTypeVarsN * Run for all call kinds and ignore typedesc * Testcase --------- Co-authored-by: SirOlaf <>
Diffstat (limited to 'tests/generics')
-rw-r--r-- | tests/generics/t21760.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/generics/t21760.nim b/tests/generics/t21760.nim new file mode 100644 index 000000000..5343279bb --- /dev/null +++ b/tests/generics/t21760.nim @@ -0,0 +1,8 @@ +import std/tables + +type Url = object + +proc myInit(_: type[Url], params = default(Table[string, string])): Url = + discard + +discard myInit(Url) \ No newline at end of file |