asm output, random fixes

This commit is contained in:
2025-04-07 19:42:40 -04:00
parent f57af3b2b5
commit cb9a366f43
18 changed files with 266 additions and 117 deletions

View File

@@ -31,7 +31,7 @@ impl PFunction {
.map(|a| {
a.lower(map, output).unwrap_or(VarDef {
name: "{error}".to_string(),
origin: Origin::File(a.span),
origin: a.span,
ty: Type::Error,
})
})
@@ -42,7 +42,7 @@ impl PFunction {
};
Some(map.def_fn(FnDef {
name: name.to_string(),
origin: Origin::File(self.header.span),
origin: self.header.span,
args,
ret,
}))