diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-21 05:54:26 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-21 05:54:26 +0000 |
| commit | c56877035d6600b463a9cbf0e339f7548c0b46fd (patch) | |
| tree | 5b2af13b7f8f097d8de5436a729b39e85427b9f0 /lib/CodeGen/GlobalGen.cc | |
| parent | dd5bbae055fd34ce2e12ef63f8a261c6b15dc83e (diff) | |
feat(codegen): instantiate function templates by deduction
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'lib/CodeGen/GlobalGen.cc')
| -rw-r--r-- | lib/CodeGen/GlobalGen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/GlobalGen.cc b/lib/CodeGen/GlobalGen.cc index b5c39a8..89a61ac 100644 --- a/lib/CodeGen/GlobalGen.cc +++ b/lib/CodeGen/GlobalGen.cc @@ -34,7 +34,7 @@ void CodeGen::runGlobalPrePass(const SourceUnit &Unit, int Phase) { continue; } if (Exports[CurrentUnit].count(Name) || Types->resolve(Name) || - Types->lookupEnumConstant(Name) || FuncGen->hasFunction(Name) || + Types->lookupEnumConstant(Name) || hasCallable(Name) || isBuiltinName(Name)) { reportError("Global %s conflicts with an existing definition", Name.c_str()); continue; |
