diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-22 15:07:27 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-22 15:21:14 +0000 |
| commit | f14b50d776ec743bd62fda22a9c154bba9588840 (patch) | |
| tree | 753196ff7881d0bfbcc29834277ffc14e2b4f440 /lib/CodeGen/CodeGen.cc | |
| parent | 8802a5d740d6cff29e473e7e0507b6a6d40a55e4 (diff) | |
feat(codegen)!: reject implicit BOOLEAN, CHAR and INTEGER mixing
Arithmetic and unary minus accept only INTEGER and REAL, AND/OR/NOT need
BOOLEAN, comparisons need equal types (or INTEGER with REAL), and only
INTEGER converts implicitly to REAL. Use ASC and CHR for characters.
No existing test program relied on the now-illegal mixing, so none changed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'lib/CodeGen/CodeGen.cc')
0 files changed, 0 insertions, 0 deletions
