can theoretically infer generics now (even tho they don't exist yet lmao)
This commit is contained in:
@@ -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