mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
clarify
This commit is contained in:
parent
44c08779c3
commit
ea15203ff9
1 changed files with 4 additions and 4 deletions
|
@ -761,8 +761,8 @@ impl DefOrdering {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DefReferences::Empty => {
|
DefReferences::AnnotationWithoutBody => {
|
||||||
// produced by annotations without bodies
|
// annotatations without bodies don't reference any other definitions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1178,7 +1178,7 @@ fn add_annotation_aliases(
|
||||||
enum DefReferences {
|
enum DefReferences {
|
||||||
Value(References),
|
Value(References),
|
||||||
Function(References),
|
Function(References),
|
||||||
Empty,
|
AnnotationWithoutBody,
|
||||||
}
|
}
|
||||||
|
|
||||||
struct TempOutput {
|
struct TempOutput {
|
||||||
|
@ -1301,7 +1301,7 @@ fn canonicalize_pending_value_def_new<'a>(
|
||||||
|
|
||||||
TempOutput {
|
TempOutput {
|
||||||
output,
|
output,
|
||||||
references: DefReferences::Empty,
|
references: DefReferences::AnnotationWithoutBody,
|
||||||
def,
|
def,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue