uh oh, I need to actually switch to struct subvars and resolve pointer variables
This commit is contained in:
@@ -47,6 +47,6 @@ impl Node<PGenericDef> {
|
||||
pub fn lower(&self, p: &mut UProgram) -> Option<GenericID> {
|
||||
let s = self.as_ref()?;
|
||||
let name = s.name.as_ref()?;
|
||||
Some(p.def_searchable(name.to_string(), Some(UGeneric {}), self.origin))
|
||||
Some(p.def_searchable(name, Some(UGeneric {}), self.origin))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user