can theoretically infer generics now (even tho they don't exist yet lmao)
This commit is contained in:
1 parent
07a9d6fee7
commit
44824b8b5a
4 files changed
+28
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user