mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
refactor introduced variables
This has lead to so many problems, so I made a special-purpose type for it
This commit is contained in:
parent
c6121e3805
commit
4848eb5901
7 changed files with 133 additions and 94 deletions
|
@ -1,3 +1,4 @@
|
|||
use crate::annotation::IntroducedVariables;
|
||||
use crate::def::{can_defs_with_return, Def};
|
||||
use crate::env::Env;
|
||||
use crate::num::{
|
||||
|
@ -25,8 +26,7 @@ use std::ops::Neg;
|
|||
pub struct Output {
|
||||
pub references: References,
|
||||
pub tail_call: Option<Symbol>,
|
||||
pub rigids: SendMap<Lowercase, Variable>,
|
||||
pub ftv: SendMap<Variable, Lowercase>,
|
||||
pub introduced_variables: IntroducedVariables,
|
||||
pub aliases: SendMap<Symbol, Alias>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue