added support for function imports

This commit is contained in:
2021-11-03 22:07:55 +01:00
parent 4f70a65866
commit 4793c4eb69
11 changed files with 101 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ pub enum ImportType {
type_: Type,
mutable: bool,
},
// Function { name: String, params: Vec<Type>, result: Option<Type> }
Function { name: String, params: Vec<Type>, result: Option<Type> }
}
#[derive(Debug)]