fix type parsing bugs

This commit is contained in:
2024-10-23 22:10:48 -04:00
parent 8fbb4780df
commit ae7600ba81
4 changed files with 62 additions and 34 deletions

View File

@@ -18,7 +18,7 @@ impl Display for FunctionType {
#[derive(Clone, Debug, PartialEq)]
pub struct Function {
name: Option<String>,
pub(crate) name: Option<String>,
t: FunctionType,
arg_names: Vec<String>,
body: Box<ParseTree>,