diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 10:35:33 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 10:35:33 +0000 |
| commit | b47c302bbffd668334f307d512b674f804f8f2fc (patch) | |
| tree | 4dfdecb510789114618545b4d8d3a03a5b52e511 /AGENTS/ARCH.md | |
| parent | e572d278a44d286c8713d0ee4af9c72a3d1ca73c (diff) | |
docs: document OVERLOAD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS/ARCH.md')
| -rw-r--r-- | AGENTS/ARCH.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AGENTS/ARCH.md b/AGENTS/ARCH.md index f85364b..cb0bc20 100644 --- a/AGENTS/ARCH.md +++ b/AGENTS/ARCH.md @@ -88,7 +88,7 @@ Driver behavior (`tools/driver/main.cc`): matched against command-line inputs with fs::equivalent. The driver rejects repeated inputs and computes transitive symbol visibility; cycles do not copy statements. CodeGen records owners for signatures, types and exported constants/globals and filters - lookup by the current unit. Cross-file duplicate definitions are always errors. + lookup by the current unit. Cross-file duplicate definitions are errors; distinct explicit OVERLOAD signatures may share a name. The entry file contains the only top-level code, or parameterless FUNCTION MAIN returning INTEGER; MAIN plus top-level code and builds without either entry are errors. SourceUnit borrows parsed statements for compilation. Type names are reserved across |
