mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
move comment
This commit is contained in:
parent
cc7d3d3e1d
commit
eb98dd7bde
1 changed files with 2 additions and 2 deletions
|
@ -1366,9 +1366,9 @@ fn parse_defs_end<'a>(
|
|||
);
|
||||
}
|
||||
Either::Second(value_def) => {
|
||||
// If we got a ValueDef::Body, check if a type annotation preceded it.
|
||||
// If so, we may need to combine them into an AnnotatedBody.
|
||||
let joined_def = match value_def {
|
||||
// If we got a ValueDef::Body, check if a type annotation preceded it.
|
||||
// If so, we may need to combine them into an AnnotatedBody.
|
||||
ValueDef::Body(loc_pattern, loc_def_expr) => {
|
||||
let region =
|
||||
Region::span_across(&loc_pattern.region, &loc_def_expr.region);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue