mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Make ann_pattern and ann_type references
This commit is contained in:
parent
b0e4f4c97f
commit
6c01d02de0
3 changed files with 7 additions and 7 deletions
|
@ -278,8 +278,8 @@ pub enum Def<'a> {
|
|||
Body(&'a Loc<Pattern<'a>>, &'a Loc<Expr<'a>>),
|
||||
|
||||
AnnotatedBody {
|
||||
ann_pattern: Loc<Pattern<'a>>,
|
||||
ann_type: Loc<TypeAnnotation<'a>>,
|
||||
ann_pattern: &'a Loc<Pattern<'a>>,
|
||||
ann_type: &'a Loc<TypeAnnotation<'a>>,
|
||||
comment: Option<&'a str>,
|
||||
body_pattern: &'a Loc<Pattern<'a>>,
|
||||
body_expr: &'a Loc<Expr<'a>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue