mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
parse the region of the preceding comment for an expect
This commit is contained in:
parent
35733d51dc
commit
7597d11b59
8 changed files with 35 additions and 11 deletions
|
@ -331,7 +331,10 @@ pub enum ValueDef<'a> {
|
|||
body_expr: &'a Loc<Expr<'a>>,
|
||||
},
|
||||
|
||||
Expect(&'a Loc<Expr<'a>>),
|
||||
Expect {
|
||||
condition: &'a Loc<Expr<'a>>,
|
||||
preceding_comment: Region,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Default)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue