mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:30:12 +01:00
This pull request adds support for integer-to-char conversion, allowing the compiler to correctly handle character casting, implementing part of the issue #5922. ```carbon import Core library "io"; fn Run() -> i32 { var i : i32 = 65; var ch: char = (i as char); // Support implemented! Core.PrintChar(ch); // Print 'A' return 0; } ``` --------- Co-authored-by: Dana Jansens <danakj@orodu.net> Co-authored-by: Carbon Infra Bot <carbon-external-infra@google.com>