had a conversation w the code
This commit is contained in:
@@ -15,14 +15,7 @@ impl Node<PVarDef> {
|
||||
None => Type::Infer,
|
||||
};
|
||||
Some(VarInst {
|
||||
id: program.def_searchable(
|
||||
name,
|
||||
Some(UVar {
|
||||
ty,
|
||||
parent: None,
|
||||
origin: self.span,
|
||||
}),
|
||||
),
|
||||
id: program.def_searchable(name, Some(UVar { ty, parent: None }), self.span),
|
||||
span: self.span,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user