mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Implement annotation def for tuple
This commit is contained in:
parent
815ae5df9d
commit
2f7930dd0f
1 changed files with 3 additions and 2 deletions
|
@ -448,8 +448,9 @@ pub fn find_type_def_symbols(
|
|||
As(actual, _, _) => {
|
||||
stack.push(&actual.value);
|
||||
}
|
||||
Tuple { elems: _, ext: _ } => {
|
||||
todo!("find_type_def_symbols: Tuple");
|
||||
Tuple { elems, ext } => {
|
||||
stack.extend(elems.iter().map(|t| &t.value));
|
||||
stack.extend(ext.iter().map(|t| &t.value));
|
||||
}
|
||||
Record { fields, ext } => {
|
||||
let mut inner_stack = Vec::with_capacity(fields.items.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue