mirror of
https://github.com/Dummi26/mers.git
synced 2026-04-05 13:56:17 +02:00
add function type annotation (Input1 -> Output1, Input2 -> Output2)
This commit is contained in:
@@ -39,7 +39,7 @@ impl MersStatement for Chain {
|
||||
.as_any()
|
||||
.downcast_ref::<crate::data::function::FunctionT>()
|
||||
{
|
||||
match (func.0)(&arg) {
|
||||
match func.o(&arg) {
|
||||
Ok(t) => o.add(Arc::new(t)),
|
||||
Err(e) => {
|
||||
return Err(if let Some(_) = &self.as_part_of_include {
|
||||
|
||||
Reference in New Issue
Block a user