TIR: directly print byte literals rather than as a integer literal
Open
good first issue
type-system
- Dominant language
- Rust
- Stars
- 28
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, byte literals are being printed as standard numeric literals. To make it a bit nicer when debugging, byte literals should be printed as the raw source instead of the integer it represents (same for AST pretty printing).
to achieve this, we can use the `AstNodeId` on the node origin or `AstNode` of the literal to just print the source hunk.
Contributor guide
Assessment
This issue has not been assessed yet.