fixed a few issues in the type system

This commit is contained in:
Andrew Segavac
2021-09-11 12:32:08 -06:00
parent 7973006fdd
commit 1e4deadb9c
4 changed files with 182 additions and 94 deletions

View File

@@ -20,7 +20,7 @@ pub fn new_unit() -> TypeUsage {
name: Identifier{
name: Spanned{
span: Span{left: 0, right: 0}, //todo: figure out a sane value for these
value: "()".to_string(),
value: "unit".to_string(),
}
}
})