can theoretically infer generics now (even tho they don't exist yet lmao)

This commit is contained in:
iris committed 2025-04-11 02:32:16 -04:00
1 parent 07a9d6fee7
commit 44824b8b5a
4 files changed
+28 -9

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ impl PType {
let inner = self.args[0].lower(namespace, output);
Type::Slice(Box::new(inner))
}
"_" => Type::Infer,
_ => {
output.err(CompilerMsg::from_span(span, "Type not found".to_string()));
Type::Error