mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
store_index is now redundant
This commit is contained in:
parent
bff3d534f6
commit
084393c326
2 changed files with 6 additions and 23 deletions
|
@ -610,18 +610,6 @@ impl Constraints {
|
|||
Constraint::Store(type_index, variable, string_index, line_number)
|
||||
}
|
||||
|
||||
pub fn store_index(
|
||||
&mut self,
|
||||
type_index: TypeOrVar,
|
||||
variable: Variable,
|
||||
filename: &'static str,
|
||||
line_number: u32,
|
||||
) -> Constraint {
|
||||
let string_index = Index::push_new(&mut self.strings, filename);
|
||||
|
||||
Constraint::Store(type_index, variable, string_index, line_number)
|
||||
}
|
||||
|
||||
pub fn exhaustive(
|
||||
&mut self,
|
||||
real_var: Variable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue