diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-22 15:32:49 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-22 15:32:49 +0000 |
| commit | 713a313b06256a13ddefa5e257e3b80f8aa808ba (patch) | |
| tree | 0288e9e9e44b9765cf2285fa3adaf82963612180 /lib/CodeGen/ConstantGen.cc | |
| parent | 5a5a14be5e2683a42906da4b2ad19690e230c871 (diff) | |
feat(codegen): convert implicitly between CHAR and STRING
A CHAR becomes a one-character STRING in &, comparisons, assignment,
parameter passing and RETURN. A STRING becomes a CHAR in assignment,
parameter passing and RETURN, with a runtime error when its length is
not 1. CHAR with INTEGER or BOOLEAN still does not convert.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'lib/CodeGen/ConstantGen.cc')
0 files changed, 0 insertions, 0 deletions
