From 67d80c4971551ba010520343abf408d33a571201 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Wed, 8 Jan 2025 19:32:40 +0800 Subject: [PATCH] oops --- compiler/ccgtypes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim index 94091e5814..a408b55e88 100644 --- a/compiler/ccgtypes.nim +++ b/compiler/ccgtypes.nim @@ -235,7 +235,7 @@ proc isImportedType(t: PType): bool = result = t.sym != nil and sfImportc in t.sym.flags proc isNoDeclType(t: PType): bool = - result = t.sym != nil and {lfNoDecl, lfHeader} * t.sym.loc.flags = {} + result = t.sym != nil and {lfNoDecl, lfHeader} * t.sym.loc.flags != {} proc isImportedCppType(t: PType): bool = let x = t.skipTypes(irrelevantForBackend)