mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
parent
cdf8677dfb
commit
759a9976b6
2 changed files with 15 additions and 0 deletions
|
@ -621,6 +621,9 @@ fn addr_to_ast<'a, M: ReplAppMemory>(
|
|||
Content::Structure(FlatType::Record(fields, _)) => {
|
||||
struct_to_ast(env, mem, addr, *fields)
|
||||
}
|
||||
Content::Structure(FlatType::Tuple(elems,_)) => {
|
||||
struct_to_ast_tuple(env, mem, addr, *elems)
|
||||
}
|
||||
Content::Structure(FlatType::TagUnion(tags, _)) => {
|
||||
debug_assert_eq!(tags.len(), 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue