From fcb8461efab2ef7bdd976f82af8c7d1390f502ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=20G=C3=B3mez?= Date: Mon, 11 Mar 2024 12:57:55 +0000 Subject: [PATCH] Fixes an issue where exported types werent being cgen with the `exportc` pragma (#23369) (cherry picked from commit 78c834dd76f273d8813247647531005a1f7db1a6) --- compiler/ccgtypes.nim | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim index 3bc31e42e7..1b8cec4140 100644 --- a/compiler/ccgtypes.nim +++ b/compiler/ccgtypes.nim @@ -1937,8 +1937,11 @@ proc genTypeSection(m: BModule, n: PNode) = if len(n[i]) == 0: continue if n[i][0].kind != nkPragmaExpr: continue for p in 0..