mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Make sure byte-sized tag unions are printed as unions in the repl
Closes #4713
This commit is contained in:
parent
4de0c831bd
commit
8bd61d9408
2 changed files with 13 additions and 1 deletions
|
@ -565,7 +565,7 @@ fn addr_to_ast<'a, M: ReplAppMemory>(
|
|||
use IntWidth::*;
|
||||
|
||||
match int_width {
|
||||
U8 => helper!(deref_u8, u8),
|
||||
U8 => byte_to_ast(env, mem.deref_u8(addr), raw_content),
|
||||
U16 => helper!(deref_u16, u16),
|
||||
U32 => helper!(deref_u32, u32),
|
||||
U64 => helper!(deref_u64, u64),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue