mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
rename
This commit is contained in:
parent
d22a4711d4
commit
0f4a5bdd74
1 changed files with 7 additions and 7 deletions
|
@ -1203,7 +1203,7 @@ enum DefReferences {
|
|||
AnnotationWithoutBody,
|
||||
}
|
||||
|
||||
struct TempOutput {
|
||||
struct DefOutput {
|
||||
output: Output,
|
||||
def: Def,
|
||||
references: DefReferences,
|
||||
|
@ -1220,7 +1220,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
var_store: &mut VarStore,
|
||||
aliases: &mut VecMap<Symbol, Alias>,
|
||||
abilities_in_scope: &[Symbol],
|
||||
) -> TempOutput {
|
||||
) -> DefOutput {
|
||||
use PendingValueDef::*;
|
||||
|
||||
// Make types for the body expr, even if we won't end up having a body.
|
||||
|
@ -1321,7 +1321,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
vars_by_symbol.clone(),
|
||||
);
|
||||
|
||||
TempOutput {
|
||||
DefOutput {
|
||||
output,
|
||||
references: DefReferences::AnnotationWithoutBody,
|
||||
def,
|
||||
|
@ -1434,7 +1434,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
|
||||
output.union(can_output);
|
||||
|
||||
TempOutput {
|
||||
DefOutput {
|
||||
output,
|
||||
references: DefReferences::Function(closure_references),
|
||||
def,
|
||||
|
@ -1453,7 +1453,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
|
||||
output.union(can_output);
|
||||
|
||||
TempOutput {
|
||||
DefOutput {
|
||||
output,
|
||||
references: DefReferences::Value(refs),
|
||||
def,
|
||||
|
@ -1548,7 +1548,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
|
||||
output.union(can_output);
|
||||
|
||||
TempOutput {
|
||||
DefOutput {
|
||||
output,
|
||||
references: DefReferences::Function(closure_references),
|
||||
def,
|
||||
|
@ -1567,7 +1567,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
|
||||
output.union(can_output);
|
||||
|
||||
TempOutput {
|
||||
DefOutput {
|
||||
output,
|
||||
references: DefReferences::Value(refs),
|
||||
def,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue