Apply suggestions from code review

Co-authored-by: Lee Cannon <leecannon@leecannon.xyz>
This commit is contained in:
Techatrix 2023-03-25 22:01:37 +01:00 committed by Lee Cannon
parent 4b042a562a
commit 283ca0006d

View File

@ -343,7 +343,7 @@ fn declToCompletion(context: DeclToCompletionContext, decl_handle: Analyser.Decl
.{ "WINNT", {} },
.{ "WIN64", {} },
});
if (exclusions.has("name")) return;
if (exclusions.has(name)) return;
}
switch (decl_handle.decl.*) {