mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-29 01:13:47 +00:00
Insert first ability correctly in the parser
This commit is contained in:
parent
6bb97c92b9
commit
231a72f2ee
2 changed files with 29 additions and 29 deletions
|
@ -438,7 +438,7 @@ fn ability_chain<'a>(
|
|||
Loc<TypeAnnotation<'a>>,
|
||||
Vec<'a, Loc<TypeAnnotation<'a>>>
|
||||
)| {
|
||||
other_abilities.push(first_ability);
|
||||
other_abilities.insert(0, first_ability);
|
||||
other_abilities
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue