mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +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
|
@ -281,8 +281,8 @@ pub enum Def<'a> {
|
|||
ann_pattern: Loc<Pattern<'a>>,
|
||||
ann_type: Loc<TypeAnnotation<'a>>,
|
||||
comment: Option<&'a str>,
|
||||
body_pattern: Loc<Pattern<'a>>,
|
||||
body_expr: Loc<Expr<'a>>,
|
||||
body_pattern: &'a Loc<Pattern<'a>>,
|
||||
body_expr: &'a Loc<Expr<'a>>,
|
||||
},
|
||||
|
||||
// Blank Space (e.g. comments, spaces, newlines) before or after a def.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue