mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
handle AnnotatedBody everywhere. It compiles now!
This commit is contained in:
parent
d2d3681d7e
commit
014131dabe
6 changed files with 108 additions and 81 deletions
|
@ -47,6 +47,8 @@ pub fn desugar_def<'a>(arena: &'a Bump, def: &'a Def<'a>) -> Def<'a> {
|
|||
Nested(alias @ Alias { .. }) => Nested(alias),
|
||||
ann @ Annotation(_, _) => Nested(ann),
|
||||
Nested(ann @ Annotation(_, _)) => Nested(ann),
|
||||
ann_body @ AnnotatedBody { .. } => Nested(ann_body),
|
||||
Nested(ann_body @ AnnotatedBody { .. }) => Nested(ann_body),
|
||||
Nested(NotYetImplemented(s)) => todo!("{}", s),
|
||||
NotYetImplemented(s) => todo!("{}", s),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue