From b1cd5bed1a29a079414f61f5677fc995fc670750 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Thu, 14 May 2026 17:40:28 +0800 Subject: [PATCH] Update compiler/ccgexprs.nim --- compiler/ccgexprs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index 7e781dae32..5a76ad08f4 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -2819,7 +2819,7 @@ proc genMoveCall(p: BProc; n: PNode; d: var TLoc) = n[1] = makeAddr(n[1], p.module.idgen) let moveSym = n[0].sym let oldOwner = moveSym.owner - # without this, C++ types are broken + # TODO: sem instantiation issues, without this, C++ types are broken setOwner(moveSym, p.module.module) genCall(p, n, d) setOwner(moveSym, oldOwner)