mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
fix typo
This commit is contained in:
parent
7afa19809e
commit
ca4e18481b
@ -139,7 +139,7 @@ pub fn canonicalize_defs<'a>(
|
||||
while let Some(loc_def) = iter.next() {
|
||||
// Any time we have an Annotation followed immediately by a Body,
|
||||
// check to see if their patterns are equivalent. If they are,
|
||||
// turn it into a TypedBody. Otherwies, give an error.
|
||||
// turn it into a TypedBody. Otherwise, give an error.
|
||||
let pending_def = match &loc_def.value {
|
||||
Annotation(pattern, annotation) | Nested(Annotation(pattern, annotation)) => {
|
||||
match iter.peek() {
|
||||
|
Loading…
Reference in New Issue
Block a user