diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-02-07 09:17:20 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-07 09:17:20 +0000 |
| commit | 618941390604b1a8d0d71c23143adb0ec805f906 (patch) | |
| tree | c519ed730582910d8f9f20a4658c59a2fea73c55 /src/check_decl.cpp | |
| parent | 667ddc19076b118f844eff831c9cbe840918208b (diff) | |
| parent | cec84edcdd61e5db8f18c11b2320958f8c752541 (diff) | |
Merge pull request #4790 from odin-lang/bill/sdl3
`vendor:sdl3`
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index bf6e39bd2..9084f15f0 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -857,6 +857,7 @@ gb_internal Entity *init_entity_foreign_library(CheckerContext *ctx, Entity *e) } else { String name = ident->Ident.token.string; Entity *found = scope_lookup(ctx->scope, name); + if (found == nullptr) { if (is_blank_ident(name)) { // NOTE(bill): link against nothing |