compiler: Put the argument names in the Type

That simplifies things a bit and will allow to have names for builtin callback and functions
This commit is contained in:
Olivier Goffart 2024-11-20 17:02:16 +01:00
parent b6baa4a587
commit f225f79d49
12 changed files with 116 additions and 183 deletions

View file

@ -120,6 +120,7 @@ macro_rules! declare_builtin_function_types {
$($Name : Rc::new(Function{
args: vec![$($Arg),*],
return_type: $ReturnType,
arg_names: vec![],
})),*
}
}